Struct ash::vk::enums::BorderColor
source · #[repr(transparent)]pub struct BorderColor(pub(crate) i32);
Expand description
Tuple Fields§
§0: i32
Implementations§
source§impl BorderColor
impl BorderColor
source§impl BorderColor
impl BorderColor
pub const FLOAT_TRANSPARENT_BLACK: Self = _
pub const INT_TRANSPARENT_BLACK: Self = _
pub const FLOAT_OPAQUE_BLACK: Self = _
pub const INT_OPAQUE_BLACK: Self = _
pub const FLOAT_OPAQUE_WHITE: Self = _
pub const INT_OPAQUE_WHITE: Self = _
source§impl BorderColor
impl BorderColor
Generated from ‘VK_EXT_custom_border_color’
pub const FLOAT_CUSTOM_EXT: Self = _
pub const INT_CUSTOM_EXT: Self = _
Trait Implementations§
source§impl Clone for BorderColor
impl Clone for BorderColor
source§fn clone(&self) -> BorderColor
fn clone(&self) -> BorderColor
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for BorderColor
impl Debug for BorderColor
source§impl Default for BorderColor
impl Default for BorderColor
source§fn default() -> BorderColor
fn default() -> BorderColor
Returns the “default value” for a type. Read more
source§impl Hash for BorderColor
impl Hash for BorderColor
source§impl Ord for BorderColor
impl Ord for BorderColor
source§fn cmp(&self, other: &BorderColor) -> Ordering
fn cmp(&self, other: &BorderColor) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for BorderColor
impl PartialEq for BorderColor
source§fn eq(&self, other: &BorderColor) -> bool
fn eq(&self, other: &BorderColor) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for BorderColor
impl PartialOrd for BorderColor
source§fn partial_cmp(&self, other: &BorderColor) -> Option<Ordering>
fn partial_cmp(&self, other: &BorderColor) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for BorderColor
impl Eq for BorderColor
impl StructuralPartialEq for BorderColor
Auto Trait Implementations§
impl Freeze for BorderColor
impl RefUnwindSafe for BorderColor
impl Send for BorderColor
impl Sync for BorderColor
impl Unpin for BorderColor
impl UnwindSafe for BorderColor
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more