Skip to main content

ImageResources

Struct ImageResources 

Source
pub struct ImageResources {
Show 33 fields pub layer_state: Option<f64>, pub layer_selection_ids: Option<Vec<f64>>, pub version_info: Option<VersionInfo>, pub alpha_identifiers: Option<Vec<f64>>, pub alpha_channel_names: Option<Vec<String>>, pub global_angle: Option<f64>, pub global_altitude: Option<f64>, pub pixel_aspect_ratio: Option<PixelAspectRatio>, pub urls_list: Option<Vec<UrlListItem>>, pub grid_and_guides_information: Option<GridAndGuidesInformation>, pub resolution_info: Option<ResolutionInfo>, pub thumbnail: Option<PixelData>, pub thumbnail_raw: Option<ThumbnailRaw>, pub caption_digest: Option<String>, pub xmp_metadata: Option<String>, pub print_scale: Option<PrintScale>, pub print_information: Option<PrintInformation>, pub background_color: Option<Color>, pub ids_seed_number: Option<f64>, pub print_flags: Option<PrintFlags>, pub icc_untagged_profile: Option<bool>, pub path_selection_state: Option<Vec<String>>, pub image_ready_variables: Option<String>, pub image_ready_data_sets: Option<String>, pub animations: Option<Animations>, pub onion_skins: Option<OnionSkins>, pub timeline_information: Option<TimelineInformation>, pub sheet_disclosure: Option<SheetDisclosure>, pub count_information: Option<Vec<CountInformation>>, pub slices: Option<Vec<SliceGroup>>, pub layer_comps: Option<LayerCompsResource>, pub copyrighted: Option<bool>, pub url: Option<String>,
}
Expand description

TS ImageResources.

Fields§

§layer_state: Option<f64>§layer_selection_ids: Option<Vec<f64>>§version_info: Option<VersionInfo>§alpha_identifiers: Option<Vec<f64>>§alpha_channel_names: Option<Vec<String>>§global_angle: Option<f64>§global_altitude: Option<f64>§pixel_aspect_ratio: Option<PixelAspectRatio>§urls_list: Option<Vec<UrlListItem>>§grid_and_guides_information: Option<GridAndGuidesInformation>§resolution_info: Option<ResolutionInfo>§thumbnail: Option<PixelData>

TS thumbnail?: HTMLCanvasElement -> raw pixels.

§thumbnail_raw: Option<ThumbnailRaw>§caption_digest: Option<String>§xmp_metadata: Option<String>§print_scale: Option<PrintScale>§print_information: Option<PrintInformation>§background_color: Option<Color>§ids_seed_number: Option<f64>§print_flags: Option<PrintFlags>§icc_untagged_profile: Option<bool>§path_selection_state: Option<Vec<String>>§image_ready_variables: Option<String>§image_ready_data_sets: Option<String>§animations: Option<Animations>§onion_skins: Option<OnionSkins>§timeline_information: Option<TimelineInformation>§sheet_disclosure: Option<SheetDisclosure>§count_information: Option<Vec<CountInformation>>§slices: Option<Vec<SliceGroup>>§layer_comps: Option<LayerCompsResource>§copyrighted: Option<bool>§url: Option<String>

Trait Implementations§

Source§

impl Clone for ImageResources

Source§

fn clone(&self) -> ImageResources

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 ImageResources

Source§

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

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

impl Default for ImageResources

Source§

fn default() -> ImageResources

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.