pub struct ClassFnImpl {
pub class: Class,
pub fun: Fn,
pub implementation: Block,
}Fields§
§class: Class§fun: Fn§implementation: BlockTrait Implementations§
Source§impl Debug for ClassFnImpl
impl Debug for ClassFnImpl
Source§impl PartialEq for ClassFnImpl
impl PartialEq for ClassFnImpl
Source§impl ToTokens for ClassFnImpl
impl ToTokens for ClassFnImpl
Source§fn to_tokens(&self, tokens: &mut TokenStream)
fn to_tokens(&self, tokens: &mut TokenStream)
Source§fn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
Source§fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
impl StructuralPartialEq for ClassFnImpl
Auto Trait Implementations§
impl Freeze for ClassFnImpl
impl RefUnwindSafe for ClassFnImpl
impl !Send for ClassFnImpl
impl !Sync for ClassFnImpl
impl Unpin for ClassFnImpl
impl UnwindSafe for ClassFnImpl
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> Spanned for Twhere
T: Spanned + ?Sized,
impl<T> Spanned for Twhere
T: Spanned + ?Sized,
Source§fn span(&self) -> Span
fn span(&self) -> Span
Returns a
Span covering the complete contents of this syntax tree
node, or Span::call_site() if this node is empty.