Enum DepthAlignment
#[repr(i32)]pub enum DepthAlignment {
Back = 0,
Front = 1,
Center = 2,
Stretch = 3,
}Expand description
Depth alignment options.
Variants§
Implementations§
§impl DepthAlignment
impl DepthAlignment
pub fn as_str(self) -> &'static str
pub fn convert(num: i32) -> DepthAlignment
Trait Implementations§
§impl Clone for DepthAlignment
impl Clone for DepthAlignment
§fn clone(&self) -> DepthAlignment
fn clone(&self) -> DepthAlignment
Returns a duplicate 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 more§impl Debug for DepthAlignment
impl Debug for DepthAlignment
§impl Display for DepthAlignment
impl Display for DepthAlignment
§impl PartialEq for DepthAlignment
impl PartialEq for DepthAlignment
§impl VariantConstraint for DepthAlignment
impl VariantConstraint for DepthAlignment
§type DataArg<'a> = DepthAlignment
type DataArg<'a> = DepthAlignment
Specifies the type of an argument that provides a value to
Variant.
Generally, this type matches Self, except for KanziString, Resource, and ResourceId. Read more§type RetArg = DepthAlignment
type RetArg = DepthAlignment
§fn as_arg(&self) -> <DepthAlignment as VariantConstraint>::DataArg<'_>
fn as_arg(&self) -> <DepthAlignment as VariantConstraint>::DataArg<'_>
impl Copy for DepthAlignment
impl Eq for DepthAlignment
impl PropertyTypeConstraint for DepthAlignment
impl StructuralPartialEq for DepthAlignment
Auto Trait Implementations§
impl Freeze for DepthAlignment
impl RefUnwindSafe for DepthAlignment
impl Send for DepthAlignment
impl Sync for DepthAlignment
impl Unpin for DepthAlignment
impl UnwindSafe for DepthAlignment
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