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 · 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 SupportedArgumentType
impl Debug for SupportedArgumentType
Source§impl PartialEq for SupportedArgumentType
impl PartialEq for SupportedArgumentType
impl Copy for SupportedArgumentType
impl Eq for SupportedArgumentType
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 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