pub struct ElmCodeBlockProps {
pub code: String,
pub language: String,
pub caption: String,
pub margin: String,
}
Fields§
§code: String
§language: String
§caption: String
§margin: String
Trait Implementations§
Source§impl Clone for ElmCodeBlockProps
impl Clone for ElmCodeBlockProps
Source§fn clone(&self) -> ElmCodeBlockProps
fn clone(&self) -> ElmCodeBlockProps
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 ElmCodeBlockProps
impl RefUnwindSafe for ElmCodeBlockProps
impl Send for ElmCodeBlockProps
impl Sync for ElmCodeBlockProps
impl Unpin for ElmCodeBlockProps
impl UnwindSafe for ElmCodeBlockProps
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