pub struct Image {
pub src: ImageSrc,
pub description: Option<String>,
pub common: Common,
pub crop: bool,
pub loading: Loading,
}
Fields
src: ImageSrc
description: Option<String>
common: Common
crop: bool
loading: Loading
images can load lazily.
Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Image
impl<'de> Deserialize<'de> for Image
sourcefn 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
sourceimpl PartialEq<Image> for Image
impl PartialEq<Image> for Image
impl StructuralPartialEq for Image
Auto Trait Implementations
impl RefUnwindSafe for Image
impl Send for Image
impl Sync for Image
impl Unpin for Image
impl UnwindSafe for Image
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more