pub enum SyntaxSuggarPath {
Simple(String),
Struct(Path),
}
Variants§
Trait Implementations§
Source§impl Clone for SyntaxSuggarPath
impl Clone for SyntaxSuggarPath
Source§fn clone(&self) -> SyntaxSuggarPath
fn clone(&self) -> SyntaxSuggarPath
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 moreSource§impl Debug for SyntaxSuggarPath
impl Debug for SyntaxSuggarPath
Source§impl<'de> Deserialize<'de> for SyntaxSuggarPath
impl<'de> Deserialize<'de> for SyntaxSuggarPath
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<S> From<S> for SyntaxSuggarPathwhere
S: ToString,
impl<S> From<S> for SyntaxSuggarPathwhere
S: ToString,
Source§impl From<SyntaxSuggarPath> for Path
impl From<SyntaxSuggarPath> for Path
Source§fn from(path: SyntaxSuggarPath) -> Self
fn from(path: SyntaxSuggarPath) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SyntaxSuggarPath
impl PartialEq for SyntaxSuggarPath
Source§impl Serialize for SyntaxSuggarPath
impl Serialize for SyntaxSuggarPath
impl Eq for SyntaxSuggarPath
impl StructuralPartialEq for SyntaxSuggarPath
Auto Trait Implementations§
impl Freeze for SyntaxSuggarPath
impl RefUnwindSafe for SyntaxSuggarPath
impl Send for SyntaxSuggarPath
impl Sync for SyntaxSuggarPath
impl Unpin for SyntaxSuggarPath
impl UnwindSafe for SyntaxSuggarPath
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