pub struct Binding {
pub pattern: Pattern,
pub annotation: Option<Annotation>,
pub ty: Type,
pub mut_span: Option<Span>,
}Fields§
§pattern: Pattern§annotation: Option<Annotation>§ty: Type§mut_span: Option<Span>Implementations§
Trait Implementations§
impl StructuralPartialEq for Binding
Auto Trait Implementations§
impl Forget for Binding
impl Freeze for Bindingwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<FormatStringPart>: Freeze,
PhantomData<Expression>: Freeze,
*const ArcInner<Box<[Type]>> is !null: Freeze,
PhantomData<ArcInner<Box<[Type]>>>: Freeze,
*const ArcInner<FunctionType> is !null: Freeze,
PhantomData<ArcInner<FunctionType>>: Freeze,
PhantomData<Type>: Freeze,
*const Type is !null: Freeze,
*const ArcInner<Spelling> is !null: Freeze,
PhantomData<ArcInner<Spelling>>: Freeze,
PhantomData<Pattern>: Freeze,
PhantomData<StructFieldPattern>: Freeze,
*const Pattern is !null: Freeze,
PhantomData<Annotation>: Freeze,
*const Annotation is !null: Freeze,
impl Move for Binding
impl RefUnwindSafe for Binding
impl Send for Binding
impl Sync for Binding
impl Unpin for Binding
impl UnsafeUnpin for Bindingwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<FormatStringPart>: UnsafeUnpin,
PhantomData<Expression>: UnsafeUnpin,
*const ArcInner<Box<[Type]>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Box<[Type]>>>: UnsafeUnpin,
*const ArcInner<FunctionType> is !null: UnsafeUnpin,
PhantomData<ArcInner<FunctionType>>: UnsafeUnpin,
PhantomData<Type>: UnsafeUnpin,
*const Type is !null: UnsafeUnpin,
*const ArcInner<Spelling> is !null: UnsafeUnpin,
PhantomData<ArcInner<Spelling>>: UnsafeUnpin,
PhantomData<Pattern>: UnsafeUnpin,
PhantomData<StructFieldPattern>: UnsafeUnpin,
*const Pattern is !null: UnsafeUnpin,
PhantomData<Annotation>: UnsafeUnpin,
*const Annotation is !null: UnsafeUnpin,
impl UnwindSafe for Bindingwhere
RawVecInner: UnwindSafe,
BoxRaw<Expression>: UnwindSafe,
Arc<Box<[Type]>>: UnwindSafe,
NonNull<u8>: UnwindSafe,
Arc<FunctionType>: UnwindSafe,
BoxRaw<Type>: UnwindSafe,
Arc<Spelling>: UnwindSafe,
BoxRaw<Annotation>: UnwindSafe,
BoxRaw<Binding>: UnwindSafe,
BoxRaw<Pattern>: UnwindSafe,
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