pub struct ThisParameter {
pub constraint: TypeAnnotation,
pub position: Span,
}
Fields§
§constraint: TypeAnnotation
§position: Span
Trait Implementations§
Source§impl Clone for ThisParameter
impl Clone for ThisParameter
Source§fn clone(&self) -> ThisParameter
fn clone(&self) -> ThisParameter
Returns a copy 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 ThisParameter
impl Debug for ThisParameter
Source§impl PartialEq for ThisParameter
impl PartialEq for ThisParameter
Source§impl SelfRustTokenize for ThisParameter
impl SelfRustTokenize for ThisParameter
fn append_to_token_stream(&self, token_stream: &mut TokenStream)
Source§fn to_tokens(&self) -> TokenStream
fn to_tokens(&self) -> TokenStream
Returns the tokens used to construct self
Source§impl Serialize for ThisParameter
impl Serialize for ThisParameter
Source§impl Visitable for ThisParameter
impl Visitable for ThisParameter
fn visit<TData>( &self, visitors: &mut (impl VisitorReceiver<TData> + ?Sized), data: &mut TData, options: &VisitOptions, chain: &mut Annex<'_, Chain>, )
fn visit_mut<TData>( &mut self, visitors: &mut (impl VisitorMutReceiver<TData> + ?Sized), data: &mut TData, options: &VisitOptions, chain: &mut Annex<'_, Chain>, )
Auto Trait Implementations§
impl Freeze for ThisParameter
impl RefUnwindSafe for ThisParameter
impl Send for ThisParameter
impl Sync for ThisParameter
impl Unpin for ThisParameter
impl UnwindSafe for ThisParameter
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