pub struct LayerStyle {
pub ty: Option<u8>,
pub nm: Option<String>,
pub c: Property<Vec<f32>>,
pub o: Property<f32>,
pub a: Property<f32>,
pub d: Property<f32>,
pub s: Property<f32>,
pub ch: Property<f32>,
pub bm: Option<Property<f32>>,
}Fields§
§ty: Option<u8>§nm: Option<String>§c: Property<Vec<f32>>§o: Property<f32>§a: Property<f32>§d: Property<f32>§s: Property<f32>§ch: Property<f32>§bm: Option<Property<f32>>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 · 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<'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
Auto Trait Implementations§
impl Freeze for LayerStyle
impl RefUnwindSafe for LayerStyle
impl Send for LayerStyle
impl Sync for LayerStyle
impl Unpin 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