pub struct GraphicsLayer {Show 21 fields
pub alpha: f32,
pub scale: f32,
pub scale_x: f32,
pub scale_y: f32,
pub rotation_x: f32,
pub rotation_y: f32,
pub rotation_z: f32,
pub camera_distance: f32,
pub transform_origin: TransformOrigin,
pub translation_x: f32,
pub translation_y: f32,
pub shadow_elevation: f32,
pub ambient_shadow_color: Color,
pub spot_shadow_color: Color,
pub shape: LayerShape,
pub clip: bool,
pub compositing_strategy: CompositingStrategy,
pub blend_mode: BlendMode,
pub color_filter: Option<ColorFilter>,
pub render_effect: Option<RenderEffect>,
pub backdrop_effect: Option<RenderEffect>,
}Fields§
§alpha: f32§scale: f32§scale_x: f32§scale_y: f32§rotation_x: f32§rotation_y: f32§rotation_z: f32§camera_distance: f32§transform_origin: TransformOrigin§translation_x: f32§translation_y: f32§shadow_elevation: f32§ambient_shadow_color: Color§spot_shadow_color: Color§shape: LayerShape§clip: bool§compositing_strategy: CompositingStrategy§blend_mode: BlendMode§color_filter: Option<ColorFilter>§render_effect: Option<RenderEffect>§backdrop_effect: Option<RenderEffect>Trait 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 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 UnsafeUnpin 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