Struct core_foundation::base::ItemRef
source · pub struct ItemRef<'a, T: 'a>(/* private fields */);
Expand description
A reference to an element inside a container
Trait Implementations§
Auto Trait Implementations§
impl<'a, T> RefUnwindSafe for ItemRef<'a, T>where T: RefUnwindSafe,
impl<'a, T> Send for ItemRef<'a, T>where T: Send + Sync,
impl<'a, T> Sync for ItemRef<'a, T>where T: Sync,
impl<'a, T> Unpin for ItemRef<'a, T>where T: Unpin,
impl<'a, T> UnwindSafe for ItemRef<'a, T>where T: UnwindSafe + RefUnwindSafe,
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