pub struct ContentLayer {
pub slot: i32,
pub blend: Blend,
pub ink_roughness: f32,
pub emboss: f32,
pub strength: f32,
}Fields§
§slot: i32§blend: Blend§ink_roughness: f32§emboss: f32§strength: f32Implementations§
Trait Implementations§
Source§impl Clone for ContentLayer
impl Clone for ContentLayer
Source§fn clone(&self) -> ContentLayer
fn clone(&self) -> ContentLayer
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 ContentLayer
impl Debug for ContentLayer
Source§impl Default for ContentLayer
impl Default for ContentLayer
Source§impl<'de> Deserialize<'de> for ContentLayerwhere
ContentLayer: Default,
impl<'de> Deserialize<'de> for ContentLayerwhere
ContentLayer: Default,
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 ContentLayer
impl PartialEq for ContentLayer
Source§fn eq(&self, other: &ContentLayer) -> bool
fn eq(&self, other: &ContentLayer) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ContentLayer
impl Serialize for ContentLayer
impl Copy for ContentLayer
impl StructuralPartialEq for ContentLayer
Auto Trait Implementations§
impl Freeze for ContentLayer
impl RefUnwindSafe for ContentLayer
impl Send for ContentLayer
impl Sync for ContentLayer
impl Unpin for ContentLayer
impl UnsafeUnpin for ContentLayer
impl UnwindSafe for ContentLayer
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