pub enum ConstraintArg {
Path(PathRef),
Num(f64, Span),
}Variants§
Path(PathRef)
Element path; a bare keyword like top is a one-segment path,
disambiguated during semantic analysis.
Num(f64, Span)
Implementations§
Trait Implementations§
Source§impl Clone for ConstraintArg
impl Clone for ConstraintArg
Source§fn clone(&self) -> ConstraintArg
fn clone(&self) -> ConstraintArg
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 moreAuto Trait Implementations§
impl Freeze for ConstraintArg
impl RefUnwindSafe for ConstraintArg
impl Send for ConstraintArg
impl Sync for ConstraintArg
impl Unpin for ConstraintArg
impl UnsafeUnpin for ConstraintArg
impl UnwindSafe for ConstraintArg
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