Struct binary_util::AssociatedType
source · pub struct AssociatedType(_);
Expand description
Defines an associated type.
Implementations§
source§impl AssociatedType
impl AssociatedType
sourcepub fn bound<T>(&mut self, ty: T) -> &mut AssociatedTypewhere
T: Into<Type>,
pub fn bound<T>(&mut self, ty: T) -> &mut AssociatedTypewhere T: Into<Type>,
Add a bound to the associated type.
Trait Implementations§
source§impl Clone for AssociatedType
impl Clone for AssociatedType
source§fn clone(&self) -> AssociatedType
fn clone(&self) -> AssociatedType
Returns a copy of the value. Read more
1.0.0 · 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 RefUnwindSafe for AssociatedType
impl Send for AssociatedType
impl Sync for AssociatedType
impl Unpin for AssociatedType
impl UnwindSafe for AssociatedType
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