#[repr(C)]pub struct PolychromeSprite {
pub order: DrawOrder,
pub pad: u32,
pub grayscale: PaddedBool32,
pub opacity: f32,
pub bounds: Bounds<ScaledPixels>,
pub content_mask: ContentMask<ScaledPixels>,
pub corner_radii: Corners<ScaledPixels>,
pub tile: AtlasTile,
}Fields§
§order: DrawOrder§pad: u32§grayscale: PaddedBool32§opacity: f32§bounds: Bounds<ScaledPixels>§content_mask: ContentMask<ScaledPixels>§corner_radii: Corners<ScaledPixels>§tile: AtlasTileTrait Implementations§
Source§impl Clone for PolychromeSprite
impl Clone for PolychromeSprite
impl Copy for PolychromeSprite
Source§impl Debug for PolychromeSprite
impl Debug for PolychromeSprite
Source§impl From<PolychromeSprite> for Primitive
impl From<PolychromeSprite> for Primitive
Source§fn from(sprite: PolychromeSprite) -> Self
fn from(sprite: PolychromeSprite) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PolychromeSprite
impl RefUnwindSafe for PolychromeSprite
impl Send for PolychromeSprite
impl Sync for PolychromeSprite
impl Unpin for PolychromeSprite
impl UnsafeUnpin for PolychromeSprite
impl UnwindSafe for PolychromeSprite
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