pub enum MacroExpansionResult {
Ok(String),
Err(MacroExpansionError),
}Expand description
A macro expansion result: either a string or an error.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for MacroExpansionResult
impl Clone for MacroExpansionResult
Source§fn clone(&self) -> MacroExpansionResult
fn clone(&self) -> MacroExpansionResult
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 MacroExpansionResult
impl RefUnwindSafe for MacroExpansionResult
impl Send for MacroExpansionResult
impl Sync for MacroExpansionResult
impl Unpin for MacroExpansionResult
impl UnsafeUnpin for MacroExpansionResult
impl UnwindSafe for MacroExpansionResult
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