pub struct ClassifiedMethodArgs {
pub uses_self: bool,
pub args: Vec<ClassifiedArg>,
pub owned_retained: Option<Arg>,
pub once_capable: bool,
}Fields§
§uses_self: bool§args: Vec<ClassifiedArg>§owned_retained: Option<Arg>The owned retained-handler argument, when this method is an owned setter.
once_capable: boolEvery handler argument is sync — a _fn stack-closure variant is sound.
Implementations§
Source§impl ClassifiedMethodArgs
impl ClassifiedMethodArgs
pub fn signatures(&self) -> Vec<TokenStream>
pub fn calls(&self) -> Vec<TokenStream>
pub fn generics(&self) -> Vec<TokenStream>
pub fn registrations(&self) -> Vec<TokenStream>
Sourcepub fn preludes(&self) -> Vec<TokenStream>
pub fn preludes(&self) -> Vec<TokenStream>
Statements emitted before the FFI call (e.g. IntoCStr shadows).
pub fn once_signatures(&self) -> Vec<TokenStream>
pub fn once_calls(&self) -> Vec<TokenStream>
pub fn once_generics(&self) -> Vec<TokenStream>
Auto Trait Implementations§
impl !Send for ClassifiedMethodArgs
impl !Sync for ClassifiedMethodArgs
impl Freeze for ClassifiedMethodArgs
impl RefUnwindSafe for ClassifiedMethodArgs
impl Unpin for ClassifiedMethodArgs
impl UnsafeUnpin for ClassifiedMethodArgs
impl UnwindSafe for ClassifiedMethodArgs
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more