pub struct GraphicsLayer {
pub alpha: f32,
pub scale: f32,
pub translation_x: f32,
pub translation_y: f32,
}Fields§
§alpha: f32§scale: f32§translation_x: f32§translation_y: f32Trait Implementations§
Source§impl Clone for GraphicsLayer
impl Clone for GraphicsLayer
Source§fn clone(&self) -> GraphicsLayer
fn clone(&self) -> GraphicsLayer
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 moreSource§impl Debug for GraphicsLayer
impl Debug for GraphicsLayer
Source§impl Default for GraphicsLayer
impl Default for GraphicsLayer
Source§fn default() -> GraphicsLayer
fn default() -> GraphicsLayer
Returns the “default value” for a type. Read more
Source§impl PartialEq for GraphicsLayer
impl PartialEq for GraphicsLayer
impl Copy for GraphicsLayer
impl StructuralPartialEq for GraphicsLayer
Auto Trait Implementations§
impl Freeze for GraphicsLayer
impl RefUnwindSafe for GraphicsLayer
impl Send for GraphicsLayer
impl Sync for GraphicsLayer
impl Unpin for GraphicsLayer
impl UnwindSafe for GraphicsLayer
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