[−][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: IdentThe 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: TypeThe TYPE stripped of & and mut.
bindgen_ty: BindgenArgTypeBindgen classification of argument type, based on what attributes it has.
serializer_ty: SerializerTypeType of serializer that we use for this argument.
original: PatTypeThe original PatType of the argument.
Implementations
impl ArgInfo[src]
Auto Trait Implementations
impl RefUnwindSafe for ArgInfo[src]
impl !Send for ArgInfo[src]
impl !Sync for ArgInfo[src]
impl Unpin for ArgInfo[src]
impl UnwindSafe for ArgInfo[src]
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,
pub 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.
pub 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>,