pub struct FnArgAnnotations {
pub collection_as_item: bool,
pub assert_len: Option<usize>,
pub cffi_type: Option<String>,
}Fields§
§collection_as_item: bool§assert_len: Option<usize>§cffi_type: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for FnArgAnnotations
impl Clone for FnArgAnnotations
Source§fn clone(&self) -> FnArgAnnotations
fn clone(&self) -> FnArgAnnotations
Returns a duplicate 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 FnArgAnnotations
impl Debug for FnArgAnnotations
Source§impl Into<TokenStream> for FnArgAnnotations
impl Into<TokenStream> for FnArgAnnotations
Source§fn into(self) -> TokenStream
fn into(self) -> TokenStream
Convert argument annotations into tokens that can be embedded in generated code.
Auto Trait Implementations§
impl Freeze for FnArgAnnotations
impl RefUnwindSafe for FnArgAnnotations
impl Send for FnArgAnnotations
impl Sync for FnArgAnnotations
impl Unpin for FnArgAnnotations
impl UnwindSafe for FnArgAnnotations
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