pub enum Owned {}
Trait Implementations§
source§impl BorrowType for Owned
impl BorrowType for Owned
source§const TRAVERSAL_PERMIT: bool = false
const TRAVERSAL_PERMIT: bool = false
Reject traversal, because it isn’t needed. Instead traversal
happens using the result of borrow_mut
.
By disabling traversal, and only creating new references to roots,
we know that every reference of the Owned
type is to a root node.
Auto Trait Implementations§
impl RefUnwindSafe for Owned
impl Send for Owned
impl Sync for Owned
impl Unpin for Owned
impl UnwindSafe for Owned
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