pub struct Psd {Show 15 fields
pub additional_info: LayerAdditionalInfo,
pub width: f64,
pub height: f64,
pub channels: Option<f64>,
pub bits_per_channel: Option<f64>,
pub color_mode: Option<ColorMode>,
pub palette: Option<Vec<Rgb>>,
pub children: Option<Vec<Layer>>,
pub canvas: Option<PixelData>,
pub image_data: Option<PixelData>,
pub image_resources: Option<ImageResources>,
pub linked_files: Option<Vec<LinkedFile>>,
pub artboards: Option<PsdArtboards>,
pub global_layer_mask_info: Option<GlobalLayerMaskInfo>,
pub annotations: Option<Vec<Annotation>>,
}Expand description
TS Psd extends LayerAdditionalInfo.
Fields§
§additional_info: LayerAdditionalInfoflattened LayerAdditionalInfo base.
width: f64§height: f64§channels: Option<f64>§bits_per_channel: Option<f64>§color_mode: Option<ColorMode>§palette: Option<Vec<Rgb>>colors for indexed color mode
children: Option<Vec<Layer>>§canvas: Option<PixelData>TS canvas?: HTMLCanvasElement -> raw pixels.
image_data: Option<PixelData>§image_resources: Option<ImageResources>§linked_files: Option<Vec<LinkedFile>>used in smart objects
artboards: Option<PsdArtboards>§global_layer_mask_info: Option<GlobalLayerMaskInfo>§annotations: Option<Vec<Annotation>>Trait Implementations§
Auto Trait Implementations§
impl Freeze for Psd
impl RefUnwindSafe for Psd
impl Send for Psd
impl Sync for Psd
impl Unpin for Psd
impl UnsafeUnpin for Psd
impl UnwindSafe for Psd
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