pub enum AssociatedTypeValue {
Equal(AssociatedTypeValueEqual),
Bound(AssociatedTypeValueBound),
}Variants§
Equal(AssociatedTypeValueEqual)
Bound(AssociatedTypeValueBound)
Implementations§
Source§impl AssociatedTypeValue
impl AssociatedTypeValue
pub fn into_equal(self) -> Option<AssociatedTypeValueEqual>
pub fn into_bound(self) -> Option<AssociatedTypeValueBound>
pub fn as_equal(&self) -> Option<&AssociatedTypeValueEqual>
pub fn as_bound(&self) -> Option<&AssociatedTypeValueBound>
pub fn is_equal(&self) -> bool
pub fn is_bound(&self) -> bool
Trait Implementations§
Source§impl Debug for AssociatedTypeValue
impl Debug for AssociatedTypeValue
Source§impl<'a> Index<&'a AssociatedTypeValue> for str
impl<'a> Index<&'a AssociatedTypeValue> for str
Source§impl Index<AssociatedTypeValue> for str
impl Index<AssociatedTypeValue> for str
Auto Trait Implementations§
impl Freeze for AssociatedTypeValue
impl RefUnwindSafe for AssociatedTypeValue
impl Send for AssociatedTypeValue
impl Sync for AssociatedTypeValue
impl Unpin for AssociatedTypeValue
impl UnsafeUnpin for AssociatedTypeValue
impl UnwindSafe for AssociatedTypeValue
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