pub struct Layer {Show 24 fields
pub ty: u8,
pub ind: Option<u32>,
pub parent: Option<u32>,
pub nm: Option<String>,
pub ip: f32,
pub op: f32,
pub st: f32,
pub ks: Transform,
pub ao: Option<u32>,
pub tm: Option<Property<f32>>,
pub ddd: Option<u8>,
pub pe: Option<Property<f32>>,
pub masks_properties: Option<Vec<MaskProperties>>,
pub tt: Option<u8>,
pub ef: Option<Vec<Effect>>,
pub sy: Option<Vec<LayerStyle>>,
pub ref_id: Option<String>,
pub w: Option<u32>,
pub h: Option<u32>,
pub color: Option<String>,
pub sw: Option<u32>,
pub sh: Option<u32>,
pub shapes: Option<Vec<Shape>>,
pub t: Option<TextData>,
}Fields§
§ty: u8§ind: Option<u32>§parent: Option<u32>§nm: Option<String>§ip: f32§op: f32§st: f32§ks: Transform§ao: Option<u32>§tm: Option<Property<f32>>§ddd: Option<u8>§pe: Option<Property<f32>>§masks_properties: Option<Vec<MaskProperties>>§tt: Option<u8>§ef: Option<Vec<Effect>>§sy: Option<Vec<LayerStyle>>§ref_id: Option<String>§w: Option<u32>§h: Option<u32>§color: Option<String>§sw: Option<u32>§sh: Option<u32>§shapes: Option<Vec<Shape>>§t: Option<TextData>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Layer
impl<'de> Deserialize<'de> for Layer
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 Layer
impl RefUnwindSafe for Layer
impl Send for Layer
impl Sync for Layer
impl Unpin for Layer
impl UnwindSafe for Layer
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