[−][src]Struct near_sdk_core::ArgInfo
A single argument of a function after it was processed by the bindgen.
Fields
non_bindgen_attrs: Vec<Attribute>
Attributes not related to bindgen.
ident: Ident
The binding
part of ref mut binding @ SUBPATTERN: TYPE
argument.
pat_reference: Option<Ref>
Whether pattern has a preceded ref
.
pat_mutability: Option<Mut>
Whether pattern has a preceded mut
.
reference: Option<And>
Whether the TYPE
starts with &
.
mutability: Option<Mut>
Whether TYPE
starts with &mut
. Can only be set together with the reference
.
ty: Type
The TYPE
stripped of &
and mut
.
bindgen_ty: BindgenArgType
Bindgen classification of argument type, based on what attributes it has.
serializer_ty: SerializerType
Type of serializer that we use for this argument.
original: PatType
The original PatType
of the argument.
Methods
impl ArgInfo
[src]
Auto Trait Implementations
impl !RefUnwindSafe for ArgInfo
impl !Send for ArgInfo
impl !Sync for ArgInfo
impl Unpin for ArgInfo
impl UnwindSafe for ArgInfo
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,