pub struct DrawState {
pub transform: Transform2D,
pub clip: ContentMask,
pub opacity: f32,
}Expand description
Transform, clip and group opacity applied to a primitive.
Fields§
§transform: Transform2D§clip: ContentMask§opacity: f32Trait Implementations§
impl Copy for DrawState
impl StructuralPartialEq for DrawState
Auto Trait Implementations§
impl Freeze for DrawState
impl RefUnwindSafe for DrawState
impl Send for DrawState
impl Sync for DrawState
impl Unpin for DrawState
impl UnsafeUnpin for DrawState
impl UnwindSafe for DrawState
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