pub struct LayerStyle {
pub clip: Option<LayerClip>,
pub opacity: f32,
pub transform: Option<[LayoutUnit; 16]>,
pub transform_clip: bool,
pub cache_key: Option<u64>,
pub content_cache_key: Option<u64>,
}Fields§
§clip: Option<LayerClip>§opacity: f32§transform: Option<[LayoutUnit; 16]>§transform_clip: bool§cache_key: Option<u64>§content_cache_key: Option<u64>Trait Implementations§
Source§impl Clone for LayerStyle
impl Clone for LayerStyle
Source§fn clone(&self) -> LayerStyle
fn clone(&self) -> LayerStyle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LayerStyle
impl Debug for LayerStyle
Source§impl Default for LayerStyle
impl Default for LayerStyle
Source§impl<'de> Deserialize<'de> for LayerStyle
impl<'de> Deserialize<'de> for LayerStyle
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for LayerStyle
impl PartialEq for LayerStyle
Source§fn eq(&self, other: &LayerStyle) -> bool
fn eq(&self, other: &LayerStyle) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LayerStyle
impl Serialize for LayerStyle
impl StructuralPartialEq for LayerStyle
Auto Trait Implementations§
impl Freeze for LayerStyle
impl RefUnwindSafe for LayerStyle
impl Send for LayerStyle
impl Sync for LayerStyle
impl Unpin for LayerStyle
impl UnsafeUnpin for LayerStyle
impl UnwindSafe for LayerStyle
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