pub struct PlacedLayer {Show 18 fields
pub id: String,
pub placed: Option<String>,
pub layer_type: Option<PlacedLayerType>,
pub page_number: Option<f64>,
pub total_pages: Option<f64>,
pub frame_step: Option<NumDenom>,
pub duration: Option<NumDenom>,
pub frame_count: Option<f64>,
pub transform: Vec<f64>,
pub non_affine_transform: Option<Vec<f64>>,
pub width: Option<f64>,
pub height: Option<f64>,
pub resolution: Option<UnitsValue>,
pub warp: Option<Warp>,
pub crop: Option<f64>,
pub comp: Option<f64>,
pub comp_info: Option<CompInfo>,
pub filter: Option<PlacedLayerFilter>,
}Expand description
TS PlacedLayer.
Fields§
§id: Stringid of linked image file (psd.linkedFiles), GUID format
placed: Option<String>unique id
layer_type: Option<PlacedLayerType>TS field type
page_number: Option<f64>§total_pages: Option<f64>§frame_step: Option<NumDenom>§duration: Option<NumDenom>§frame_count: Option<f64>§transform: Vec<f64>x, y of 4 corners of the transform
non_affine_transform: Option<Vec<f64>>x, y of 4 corners of the transform
width: Option<f64>width of the linked image
height: Option<f64>height of the linked image
resolution: Option<UnitsValue>§warp: Option<Warp>warp coordinates are relative to the linked image size
crop: Option<f64>§comp: Option<f64>§comp_info: Option<CompInfo>§filter: Option<PlacedLayerFilter>Trait Implementations§
Source§impl Clone for PlacedLayer
impl Clone for PlacedLayer
Source§fn clone(&self) -> PlacedLayer
fn clone(&self) -> PlacedLayer
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 PlacedLayer
impl Debug for PlacedLayer
Source§impl Default for PlacedLayer
impl Default for PlacedLayer
Source§fn default() -> PlacedLayer
fn default() -> PlacedLayer
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PlacedLayer
impl RefUnwindSafe for PlacedLayer
impl Send for PlacedLayer
impl Sync for PlacedLayer
impl Unpin for PlacedLayer
impl UnsafeUnpin for PlacedLayer
impl UnwindSafe for PlacedLayer
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