Struct syn::MethodTurbofish
source · [−]pub struct MethodTurbofish {
pub colon2_token: Colon2,
pub lt_token: Lt,
pub args: Punctuated<GenericMethodArgument, Comma>,
pub gt_token: Gt,
}
Expand description
The ::<>
explicit type parameters passed to a method call:
parse::<u64>()
.
This type is available only if Syn is built with the "full"
feature.
Fields
colon2_token: Colon2
lt_token: Lt
args: Punctuated<GenericMethodArgument, Comma>
gt_token: Gt
Trait Implementations
sourceimpl Parse for MethodTurbofish
impl Parse for MethodTurbofish
fn parse(input: ParseStream<'_>) -> Result<Self>
Auto Trait Implementations
impl RefUnwindSafe for MethodTurbofish
impl !Send for MethodTurbofish
impl !Sync for MethodTurbofish
impl Unpin for MethodTurbofish
impl UnwindSafe for MethodTurbofish
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more