Struct bit_vec::MutBorrowedBit
source · pub struct MutBorrowedBit<'a, B: 'a + BitBlock> {
pub(crate) vec: Rc<RefCell<&'a mut BitVec<B>>>,
pub(crate) index: usize,
pub(crate) old_value: bool,
pub(crate) new_value: bool,
}
Fields§
§vec: Rc<RefCell<&'a mut BitVec<B>>>
§index: usize
§old_value: bool
§new_value: bool
Trait Implementations§
source§impl<'a, B: BitBlock> Deref for MutBorrowedBit<'a, B>
impl<'a, B: BitBlock> Deref for MutBorrowedBit<'a, B>
source§impl<'a, B: BitBlock> DerefMut for MutBorrowedBit<'a, B>
impl<'a, B: BitBlock> DerefMut for MutBorrowedBit<'a, B>
Auto Trait Implementations§
impl<'a, B> Freeze for MutBorrowedBit<'a, B>
impl<'a, B> !RefUnwindSafe for MutBorrowedBit<'a, B>
impl<'a, B> !Send for MutBorrowedBit<'a, B>
impl<'a, B> !Sync for MutBorrowedBit<'a, B>
impl<'a, B> Unpin for MutBorrowedBit<'a, B>
impl<'a, B> !UnwindSafe for MutBorrowedBit<'a, B>
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