#[repr(transparent)]pub struct DrawBatchKind(pub u8);Tuple Fields§
§0: u8Implementations§
Source§impl DrawBatchKind
impl DrawBatchKind
pub const Normal: Self
pub const Shape: Self
pub const Instance: Self
pub const Effect: Self
pub const Mesh: Self
pub const Text: Self
pub const Nines: Self
pub const Mask: Self
pub const ENUM_MIN: u8 = 0
pub const ENUM_MAX: u8 = 7
pub const ENUM_VALUES: &'static [Self]
Sourcepub fn variant_name(self) -> Option<&'static str>
pub fn variant_name(self) -> Option<&'static str>
Returns the variant’s name or “” if unknown.
Trait Implementations§
Source§impl Clone for DrawBatchKind
impl Clone for DrawBatchKind
impl Copy for DrawBatchKind
Source§impl Debug for DrawBatchKind
impl Debug for DrawBatchKind
Source§impl Default for DrawBatchKind
impl Default for DrawBatchKind
Source§impl EndianScalar for DrawBatchKind
impl EndianScalar for DrawBatchKind
impl Eq for DrawBatchKind
Source§impl<'a> Follow<'a> for DrawBatchKind
impl<'a> Follow<'a> for DrawBatchKind
Source§impl Hash for DrawBatchKind
impl Hash for DrawBatchKind
Source§impl Ord for DrawBatchKind
impl Ord for DrawBatchKind
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn 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
Source§impl PartialEq for DrawBatchKind
impl PartialEq for DrawBatchKind
Source§impl PartialOrd for DrawBatchKind
impl PartialOrd for DrawBatchKind
Source§impl Push for DrawBatchKind
impl Push for DrawBatchKind
impl SimpleToVerifyInSlice for DrawBatchKind
impl StructuralPartialEq for DrawBatchKind
Source§impl<'a> Verifiable for DrawBatchKind
impl<'a> Verifiable for DrawBatchKind
Auto Trait Implementations§
impl Freeze for DrawBatchKind
impl RefUnwindSafe for DrawBatchKind
impl Send for DrawBatchKind
impl Sync for DrawBatchKind
impl Unpin for DrawBatchKind
impl UnsafeUnpin for DrawBatchKind
impl UnwindSafe for DrawBatchKind
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