pub struct PermitsClause {
pub permits_span: Span,
pub types: Vec<Type>,
}Expand description
A permits clause: permits Sub1, Sub2.
Fields§
§permits_span: Span§types: Vec<Type>Trait Implementations§
Source§impl Clone for PermitsClause
impl Clone for PermitsClause
Source§fn clone(&self) -> PermitsClause
fn clone(&self) -> PermitsClause
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 moreSource§impl Debug for PermitsClause
impl Debug for PermitsClause
impl Eq for PermitsClause
Source§impl Hash for PermitsClause
impl Hash for PermitsClause
Source§impl PartialEq for PermitsClause
impl PartialEq for PermitsClause
Source§fn eq(&self, other: &PermitsClause) -> bool
fn eq(&self, other: &PermitsClause) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PermitsClause
Auto Trait Implementations§
impl Freeze for PermitsClause
impl RefUnwindSafe for PermitsClause
impl Send for PermitsClause
impl Sync for PermitsClause
impl Unpin for PermitsClause
impl UnsafeUnpin for PermitsClause
impl UnwindSafe for PermitsClause
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