pub struct ImplBlock {
pub trait: Option<Loc<TraitSpec>>,
pub type_params: Option<Loc<Vec<Loc<TypeParam>>>>,
pub where_clauses: Vec<WhereClause>,
pub target: Loc<TypeSpec>,
pub units: Vec<Loc<Unit>>,
}Fields§
§trait: Option<Loc<TraitSpec>>§type_params: Option<Loc<Vec<Loc<TypeParam>>>>§where_clauses: Vec<WhereClause>§target: Loc<TypeSpec>§units: Vec<Loc<Unit>>Trait Implementations§
impl StructuralPartialEq for ImplBlock
Auto Trait Implementations§
impl Freeze for ImplBlock
impl RefUnwindSafe for ImplBlock
impl Send for ImplBlock
impl Sync for ImplBlock
impl Unpin for ImplBlock
impl UnwindSafe for ImplBlock
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more