pub struct Encapsulate;Expand description
Wraps the entire input stream in the delimiter type of the provided argument Group.
Trait Implementations§
Source§impl Clone for Encapsulate
impl Clone for Encapsulate
Source§fn clone(&self) -> Encapsulate
fn clone(&self) -> Encapsulate
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 moreSource§impl Debug for Encapsulate
impl Debug for Encapsulate
Source§impl Default for Encapsulate
impl Default for Encapsulate
Source§fn default() -> Encapsulate
fn default() -> Encapsulate
Returns the “default value” for a type. Read more
Source§impl Hash for Encapsulate
impl Hash for Encapsulate
Source§impl Ord for Encapsulate
impl Ord for Encapsulate
Source§fn cmp(&self, other: &Encapsulate) -> Ordering
fn cmp(&self, other: &Encapsulate) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Encapsulate
impl PartialEq for Encapsulate
Source§impl PartialOrd for Encapsulate
impl PartialOrd for Encapsulate
Source§impl Transformer for Encapsulate
impl Transformer for Encapsulate
Source§fn transform(
&mut self,
input: TokenStream,
argument: TokenStream,
) -> Result<TokenStream, Error>
fn transform( &mut self, input: TokenStream, argument: TokenStream, ) -> Result<TokenStream, Error>
Transforms an input token stream into an output one. Read more
impl Copy for Encapsulate
impl Eq for Encapsulate
impl StructuralPartialEq for Encapsulate
Auto Trait Implementations§
impl Freeze for Encapsulate
impl RefUnwindSafe for Encapsulate
impl Send for Encapsulate
impl Sync for Encapsulate
impl Unpin for Encapsulate
impl UnsafeUnpin for Encapsulate
impl UnwindSafe for Encapsulate
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