#[repr(C)]pub struct DrawTag(pub u32);Expand description
Draw tag representation.
Tuple Fields§
§0: u32Implementations§
Source§impl DrawTag
impl DrawTag
Sourcepub const LINEAR_GRADIENT: Self
pub const LINEAR_GRADIENT: Self
Linear gradient fill.
Sourcepub const RADIAL_GRADIENT: Self
pub const RADIAL_GRADIENT: Self
Radial gradient fill.
Sourcepub const SWEEP_GRADIENT: Self
pub const SWEEP_GRADIENT: Self
Sweep gradient fill.
Sourcepub const BEGIN_CLIP: Self
pub const BEGIN_CLIP: Self
Begin layer/clip.
Trait Implementations§
impl Copy for DrawTag
impl Eq for DrawTag
impl Pod for DrawTag
impl StructuralPartialEq for DrawTag
Auto Trait Implementations§
impl Forget for DrawTag
impl Freeze for DrawTag
impl Move for DrawTag
impl RefUnwindSafe for DrawTag
impl Send for DrawTag
impl Sync for DrawTag
impl Unpin for DrawTag
impl UnsafeUnpin for DrawTag
impl UnwindSafe for DrawTag
Blanket Implementations§
impl<T> AnyBitPattern for Twhere
T: Pod,
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
Source§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
Source§type Bits = T
type Bits = T
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.Source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.