pub struct ImageAttrs {
pub width: Option<u32>,
pub height: Option<u32>,
pub align: Option<TextAlign>,
pub passthrough: AttrMap,
}Fields§
§width: Option<u32>§height: Option<u32>§align: Option<TextAlign>§passthrough: AttrMapTrait Implementations§
Source§impl Clone for ImageAttrs
impl Clone for ImageAttrs
Source§fn clone(&self) -> ImageAttrs
fn clone(&self) -> ImageAttrs
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ImageAttrs
impl Debug for ImageAttrs
Source§impl Default for ImageAttrs
impl Default for ImageAttrs
Source§fn default() -> ImageAttrs
fn default() -> ImageAttrs
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ImageAttrs
impl<'de> Deserialize<'de> for ImageAttrs
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 ImageAttrs
impl PartialEq for ImageAttrs
Source§impl Serialize for ImageAttrs
impl Serialize for ImageAttrs
impl StructuralPartialEq for ImageAttrs
Auto Trait Implementations§
impl Freeze for ImageAttrs
impl RefUnwindSafe for ImageAttrs
impl Send for ImageAttrs
impl Sync for ImageAttrs
impl Unpin for ImageAttrs
impl UnsafeUnpin for ImageAttrs
impl UnwindSafe for ImageAttrs
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