pub struct SimpleContentDef {
pub base_type: SimpleTypeRef,
pub derivation: DerivationMethod,
pub source: Option<SourceRef>,
}Expand description
Simple content definition (text value with attributes)
Fields§
§base_type: SimpleTypeRefBase type for the text content
derivation: DerivationMethodDerivation method
source: Option<SourceRef>Source location
Trait Implementations§
Source§impl Clone for SimpleContentDef
impl Clone for SimpleContentDef
Source§fn clone(&self) -> SimpleContentDef
fn clone(&self) -> SimpleContentDef
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SimpleContentDef
impl RefUnwindSafe for SimpleContentDef
impl Send for SimpleContentDef
impl Sync for SimpleContentDef
impl Unpin for SimpleContentDef
impl UnsafeUnpin for SimpleContentDef
impl UnwindSafe for SimpleContentDef
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