pub struct Protected {
pub unremovable: BTreeSet<PositionSlot>,
}Expand description
Positions retained by attached mutable values.
Fields§
§unremovable: BTreeSet<PositionSlot>Implementations§
Source§impl Protected
impl Protected
pub const fn new() -> Self
pub fn with_unremovable(&self, slot: PositionSlot) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Protected
impl RefUnwindSafe for Protected
impl Send for Protected
impl Sync for Protected
impl Unpin for Protected
impl UnsafeUnpin for Protected
impl UnwindSafe for Protected
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