pub(crate) 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 Freeze for Owned
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
Source§impl<T> SizedTypeProperties for T
impl<T> SizedTypeProperties for T
Source§#[doc(hidden)] const IS_ZST: bool = _
#[doc(hidden)] const IS_ZST: bool = _
🔬This is a nightly-only experimental API. (
sized_type_properties
)Source§#[doc(hidden)] const LAYOUT: Layout = _
#[doc(hidden)] const LAYOUT: Layout = _
🔬This is a nightly-only experimental API. (
sized_type_properties
)Source§#[doc(hidden)] const MAX_SLICE_LEN: usize = _
#[doc(hidden)] const MAX_SLICE_LEN: usize = _
🔬This is a nightly-only experimental API. (
sized_type_properties
)The largest safe length for a
[Self]
. Read more