pub enum SupportedArgumentType {
IntegerSliceRef(SupportedCopyTy),
IntegerSliceMutRef(SupportedCopyTy),
IntegerVec(SupportedCopyTy),
Integer(SupportedCopyTy),
}Variants§
IntegerSliceRef(SupportedCopyTy)
IntegerSliceMutRef(SupportedCopyTy)
IntegerVec(SupportedCopyTy)
Integer(SupportedCopyTy)
Implementations§
Source§impl SupportedArgumentType
impl SupportedArgumentType
pub fn new(ty: &Ty) -> Result<Self, MacroError>
Trait Implementations§
Source§impl Clone for SupportedArgumentType
impl Clone for SupportedArgumentType
Source§fn clone(&self) -> SupportedArgumentType
fn clone(&self) -> SupportedArgumentType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SupportedArgumentType
Source§impl Debug for SupportedArgumentType
impl Debug for SupportedArgumentType
impl Eq for SupportedArgumentType
Source§impl PartialEq for SupportedArgumentType
impl PartialEq for SupportedArgumentType
Source§fn eq(&self, other: &SupportedArgumentType) -> bool
fn eq(&self, other: &SupportedArgumentType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SupportedArgumentType
Auto Trait Implementations§
impl Freeze for SupportedArgumentType
impl RefUnwindSafe for SupportedArgumentType
impl Send for SupportedArgumentType
impl Sync for SupportedArgumentType
impl Unpin for SupportedArgumentType
impl UnsafeUnpin for SupportedArgumentType
impl UnwindSafe for SupportedArgumentType
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