pub struct Stringify(pub String);Expand description
Convert input tokens to a String using the to_string method.
§Example
let All(Stringify(string)) = quote!(hello+world).into_iter().extract()?;
assert_eq!(string, "hello + world");Tuple Fields§
§0: StringTrait Implementations§
Source§impl FromMacro for Stringify
impl FromMacro for Stringify
impl Eq for Stringify
impl StructuralPartialEq for Stringify
Auto Trait Implementations§
impl Freeze for Stringify
impl RefUnwindSafe for Stringify
impl Send for Stringify
impl Sync for Stringify
impl Unpin for Stringify
impl UnwindSafe for Stringify
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