pub struct Element {
pub nature: ElementNature,
pub content: String,
}
Expand description
An slide is built from elements that are rendered to
a <div class=element>
that respect the SxPres philosophy.
Fields§
§nature: ElementNature
Will be used to control Elements combinations.
content: String
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Element
impl RefUnwindSafe for Element
impl Send for Element
impl Sync for Element
impl Unpin for Element
impl UnwindSafe for Element
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