pub struct Arg<T: TypeMark> {
pub labeled: Option<Option<Expr>>,
pub pattern: StructurePattern,
pub constraint: Option<Type<T>>,
}
Fields§
§labeled: Option<Option<Expr>>
§pattern: StructurePattern
§constraint: Option<Type<T>>
Trait Implementations§
Source§impl<T: PartialOrd + TypeMark> PartialOrd for Arg<T>
impl<T: PartialOrd + TypeMark> PartialOrd for Arg<T>
impl<T: TypeMark> StructuralPartialEq for Arg<T>
Auto Trait Implementations§
impl<T> Freeze for Arg<T>
impl<T> !RefUnwindSafe for Arg<T>
impl<T> Send for Arg<T>
impl<T> Sync for Arg<T>
impl<T> Unpin for Arg<T>where
T: Unpin,
impl<T> !UnwindSafe for Arg<T>
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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