pub struct ImagePresentation {
pub transform_applied: bool,
pub assets: Vec<ImageAssetReference>,
pub transform: Option<ImageTransform>,
pub source_rectangle: Option<ImageCrop>,
pub fill_rectangle: Option<ImageCrop>,
pub tile: Option<ImageTile>,
pub properties: Vec<ImagePropertyNode>,
}Expand description
Parsed properties describe source intent independently of rendering coverage.
Fields§
§transform_applied: bool§assets: Vec<ImageAssetReference>§transform: Option<ImageTransform>§source_rectangle: Option<ImageCrop>§fill_rectangle: Option<ImageCrop>§tile: Option<ImageTile>§properties: Vec<ImagePropertyNode>Trait Implementations§
Source§impl Clone for ImagePresentation
impl Clone for ImagePresentation
Source§impl Debug for ImagePresentation
impl Debug for ImagePresentation
Source§impl Default for ImagePresentation
impl Default for ImagePresentation
Source§impl<'de> Deserialize<'de> for ImagePresentation
impl<'de> Deserialize<'de> for ImagePresentation
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
Source§impl PartialEq for ImagePresentation
impl PartialEq for ImagePresentation
Source§impl Serialize for ImagePresentation
impl Serialize for ImagePresentation
impl StructuralPartialEq for ImagePresentation
Auto Trait Implementations§
impl Forget for ImagePresentation
impl Freeze for ImagePresentation
impl RefUnwindSafe for ImagePresentation
impl Send for ImagePresentation
impl Sync for ImagePresentation
impl Unpin for ImagePresentation
impl UnsafeUnpin for ImagePresentation
impl UnwindSafe for ImagePresentation
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more