pub enum RawPtrKind {
Mut,
Const,
FakeForPtrMetadata,
}
Variants§
Implementations§
Source§impl RawPtrKind
impl RawPtrKind
pub fn to_mutable_lossy(self) -> Mutability
Trait Implementations§
Source§impl Clone for RawPtrKind
impl Clone for RawPtrKind
Source§fn clone(&self) -> RawPtrKind
fn clone(&self) -> RawPtrKind
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RawPtrKind
impl Debug for RawPtrKind
Source§impl PartialEq for RawPtrKind
impl PartialEq for RawPtrKind
Source§impl Serialize for RawPtrKind
impl Serialize for RawPtrKind
impl Copy for RawPtrKind
impl Eq for RawPtrKind
impl StructuralPartialEq for RawPtrKind
Auto Trait Implementations§
impl Freeze for RawPtrKind
impl RefUnwindSafe for RawPtrKind
impl Send for RawPtrKind
impl Sync for RawPtrKind
impl Unpin for RawPtrKind
impl UnwindSafe for RawPtrKind
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 1 byte
Size for each variant:
Mut
: 0 bytesConst
: 0 bytesFakeForPtrMetadata
: 0 bytes