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