pub enum DefinitionType {
InlineProp,
InlineArg,
ChildProp,
ChildArg,
Object(String),
}
Variants§
Implementations§
Source§impl DefinitionType
impl DefinitionType
pub fn from(definition: &String) -> TokenValue
Trait Implementations§
Source§impl Clone for DefinitionType
impl Clone for DefinitionType
Source§fn clone(&self) -> DefinitionType
fn clone(&self) -> DefinitionType
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 DefinitionType
impl RefUnwindSafe for DefinitionType
impl Send for DefinitionType
impl Sync for DefinitionType
impl Unpin for DefinitionType
impl UnwindSafe for DefinitionType
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