pub struct BoundRef { /* private fields */ }
Implementations§
Source§impl BoundRef
impl BoundRef
pub fn assert_matches_context(&self, ctx: &Context)
Sourcepub fn occurs_check_id(&self) -> OccursCheckId
pub fn occurs_check_id(&self) -> OccursCheckId
Creates an “occurs-check ID” which is just a copy of the BoundRef
with PartialEq
and Eq
implemented in terms of underlying pointer
equality.
Trait Implementations§
impl Send for BoundRef
impl Sync for BoundRef
Auto Trait Implementations§
impl Freeze for BoundRef
impl RefUnwindSafe for BoundRef
impl Unpin for BoundRef
impl UnwindSafe for BoundRef
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