pub struct ElmImageProps {
pub src: String,
pub alt: Option<String>,
pub enable_modal: bool,
pub margin: String,
}Fields§
§src: String§alt: Option<String>§enable_modal: bool§margin: StringTrait Implementations§
Source§impl Clone for ElmImageProps
impl Clone for ElmImageProps
Source§fn clone(&self) -> ElmImageProps
fn clone(&self) -> ElmImageProps
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for ElmImageProps
impl RefUnwindSafe for ElmImageProps
impl Send for ElmImageProps
impl Sync for ElmImageProps
impl Unpin for ElmImageProps
impl UnwindSafe for ElmImageProps
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