Struct erupt::vk1_0::BorderColor
source · #[repr(transparent)]pub struct BorderColor(pub i32);
Expand description
Vulkan Manual Page · Enum
Tuple Fields
0: i32
Implementations
sourceimpl BorderColor
impl BorderColor
Provided by crate::extensions::ext_custom_border_color
pub const FLOAT_CUSTOM_EXT: Self = _
pub const INT_CUSTOM_EXT: Self = _
sourceimpl BorderColor
impl BorderColor
Provided by crate::vk1_0
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 = _
Trait Implementations
sourceimpl Clone for BorderColor
impl Clone for BorderColor
sourcefn clone(&self) -> BorderColor
fn clone(&self) -> BorderColor
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for BorderColor
impl Debug for BorderColor
sourceimpl Default for BorderColor
impl Default for BorderColor
sourcefn default() -> BorderColor
fn default() -> BorderColor
Returns the “default value” for a type. Read more
sourceimpl Hash for BorderColor
impl Hash for BorderColor
sourceimpl Ord for BorderColor
impl Ord for BorderColor
sourcefn cmp(&self, other: &BorderColor) -> Ordering
fn cmp(&self, other: &BorderColor) -> Ordering
1.21.0 · sourcefn 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
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<BorderColor> for BorderColor
impl PartialEq<BorderColor> for BorderColor
sourcefn eq(&self, other: &BorderColor) -> bool
fn eq(&self, other: &BorderColor) -> bool
sourceimpl PartialOrd<BorderColor> for BorderColor
impl PartialOrd<BorderColor> for BorderColor
sourcefn partial_cmp(&self, other: &BorderColor) -> Option<Ordering>
fn partial_cmp(&self, other: &BorderColor) -> Option<Ordering>
1.0.0 · sourcefn 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 StructuralEq for BorderColor
impl StructuralPartialEq for BorderColor
Auto Trait Implementations
impl RefUnwindSafe for BorderColor
impl Send for BorderColor
impl Sync for BorderColor
impl Unpin for BorderColor
impl UnwindSafe for BorderColor
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more