Skip to main content

LayerAdditionalInfo

Struct LayerAdditionalInfo 

Source
pub struct LayerAdditionalInfo {
Show 42 fields pub name: Option<String>, pub name_source: Option<String>, pub id: Option<f64>, pub version: Option<f64>, pub mask: Option<LayerMaskData>, pub real_mask: Option<LayerMaskData>, pub blend_clippend_elements: Option<bool>, pub blend_interior_elements: Option<bool>, pub knockout: Option<bool>, pub layer_mask_as_global_mask: Option<bool>, pub protected_info: Option<ProtectedInfo>, pub layer_color: Option<LayerColor>, pub reference_point: Option<PointF>, pub section_divider: Option<SectionDivider>, pub filter_mask: Option<ColorSpaceMask>, pub effects: Option<LayerEffectsInfo>, pub text: Option<LayerTextData>, pub patterns: Option<Vec<PatternInfo>>, pub vector_fill: Option<VectorContent>, pub vector_stroke: Option<VectorStroke>, pub vector_mask: Option<LayerVectorMask>, pub using_aligned_rendering: Option<bool>, pub timestamp: Option<f64>, pub path_list: Option<Vec<PathListItem>>, pub adjustment: Option<AdjustmentLayer>, pub placed_layer: Option<PlacedLayer>, pub vector_origination: Option<VectorOrigination>, pub compositor_used: Option<CompositorUsed>, pub artboard: Option<LayerArtboard>, pub fill_opacity: Option<f64>, pub transparency_shapes_layer: Option<bool>, pub channel_blending_restrictions: Option<Vec<f64>>, pub animation_frames: Option<Vec<AnimationFrame>>, pub animation_frame_flags: Option<AnimationFrameFlags>, pub timeline: Option<Timeline>, pub filter_effects_masks: Option<Vec<FilterEffectsMask>>, pub comps: Option<LayerComps>, pub user_mask: Option<ColorSpaceMask>, pub blending_ranges: Option<BlendingRanges>, pub vowv: Option<f64>, pub pixel_source: Option<PixelSource>, pub engine_data: Option<String>,
}
Expand description

TS LayerAdditionalInfo.

Fields§

§name: Option<String>

layer name

§name_source: Option<String>

layer name source

§id: Option<f64>

layer id

§version: Option<f64>

layer version

§mask: Option<LayerMaskData>§real_mask: Option<LayerMaskData>§blend_clippend_elements: Option<bool>

must be true when using color burn blend mode.

§blend_interior_elements: Option<bool>§knockout: Option<bool>§layer_mask_as_global_mask: Option<bool>§protected_info: Option<ProtectedInfo>

TS field protected

§layer_color: Option<LayerColor>§reference_point: Option<PointF>§section_divider: Option<SectionDivider>§filter_mask: Option<ColorSpaceMask>§effects: Option<LayerEffectsInfo>§text: Option<LayerTextData>§patterns: Option<Vec<PatternInfo>>

not supported yet upstream

§vector_fill: Option<VectorContent>§vector_stroke: Option<VectorStroke>§vector_mask: Option<LayerVectorMask>§using_aligned_rendering: Option<bool>§timestamp: Option<f64>

seconds

§path_list: Option<Vec<PathListItem>>

TS pathList?: {}[] — opaque entries; count preserved as empty structs.

§adjustment: Option<AdjustmentLayer>§placed_layer: Option<PlacedLayer>§vector_origination: Option<VectorOrigination>§compositor_used: Option<CompositorUsed>§artboard: Option<LayerArtboard>§fill_opacity: Option<f64>§transparency_shapes_layer: Option<bool>§channel_blending_restrictions: Option<Vec<f64>>§animation_frames: Option<Vec<AnimationFrame>>§animation_frame_flags: Option<AnimationFrameFlags>§timeline: Option<Timeline>§filter_effects_masks: Option<Vec<FilterEffectsMask>>§comps: Option<LayerComps>§user_mask: Option<ColorSpaceMask>§blending_ranges: Option<BlendingRanges>§vowv: Option<f64>

??? (upstream comment)

§pixel_source: Option<PixelSource>§engine_data: Option<String>

Base64 encoded raw EngineData, kept in original state.

Trait Implementations§

Source§

impl Clone for LayerAdditionalInfo

Source§

fn clone(&self) -> LayerAdditionalInfo

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for LayerAdditionalInfo

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for LayerAdditionalInfo

Source§

fn default() -> LayerAdditionalInfo

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.