Struct core_foundation::base::ItemRef
source · [−]pub struct ItemRef<'a, T: 'a>(_, _);
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more