pub struct Encapsulate;Expand description
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 Pass for Encapsulate
impl Pass for Encapsulate
Source§type Argument = EncapsulateGroup
type Argument = EncapsulateGroup
The argument type used by this pass. Read more
Source§fn through(
&mut self,
stream: TokenStream,
EncapsulateGroup: Self::Argument,
) -> Result<TokenStream>
fn through( &mut self, stream: TokenStream, EncapsulateGroup: Self::Argument, ) -> Result<TokenStream>
Pass-through an input [token stream] with an appropiate source-parsable argument.
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Transformer for T
impl<T> Transformer for T
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