pub enum ConstraintToken {
Mint(Ident),
Owner(Expr),
}Variants§
Trait Implementations§
Source§impl Clone for ConstraintToken
impl Clone for ConstraintToken
Source§fn clone(&self) -> ConstraintToken
fn clone(&self) -> ConstraintToken
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 Parse for ConstraintToken
impl Parse for ConstraintToken
fn parse(input: ParseStream<'_>) -> Result<Self>
Auto Trait Implementations§
impl Freeze for ConstraintToken
impl RefUnwindSafe for ConstraintToken
impl !Send for ConstraintToken
impl !Sync for ConstraintToken
impl Unpin for ConstraintToken
impl UnwindSafe for ConstraintToken
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