pub struct ElementDocument {
pub id: String,
pub kind: ElementKind,
pub transform: Transform,
pub interactive: bool,
pub selected: bool,
}Expand description
Document-friendly element description.
Fields§
§id: StringElement identifier.
kind: ElementKindElement content.
transform: TransformTransform metadata.
interactive: boolInteractivity flag.
selected: boolSelection flag.
Implementations§
Trait Implementations§
Source§impl Clone for ElementDocument
impl Clone for ElementDocument
Source§fn clone(&self) -> ElementDocument
fn clone(&self) -> ElementDocument
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 ElementDocument
impl Debug for ElementDocument
Source§impl<'de> Deserialize<'de> for ElementDocument
impl<'de> Deserialize<'de> for ElementDocument
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 From<&Element> for ElementDocument
impl From<&Element> for ElementDocument
Auto Trait Implementations§
impl Freeze for ElementDocument
impl RefUnwindSafe for ElementDocument
impl Send for ElementDocument
impl Sync for ElementDocument
impl Unpin for ElementDocument
impl UnwindSafe for ElementDocument
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