pub enum PointerMode {
Pointer,
LValueReference,
Member,
MemberFunction,
RValueReference,
}Expand description
The mode of a PointerType.
Variants§
Pointer
A regular pointer.
LValueReference
L-Value reference.
Member
Pointer to data member.
MemberFunction
Pointer to member function.
RValueReference
R-Value reference.
Trait Implementations§
Source§impl Clone for PointerMode
impl Clone for PointerMode
Source§fn clone(&self) -> PointerMode
fn clone(&self) -> PointerMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PointerMode
Source§impl Debug for PointerMode
impl Debug for PointerMode
impl Eq for PointerMode
Source§impl PartialEq for PointerMode
impl PartialEq for PointerMode
Source§fn eq(&self, other: &PointerMode) -> bool
fn eq(&self, other: &PointerMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PointerMode
Auto Trait Implementations§
impl Freeze for PointerMode
impl RefUnwindSafe for PointerMode
impl Send for PointerMode
impl Sync for PointerMode
impl Unpin for PointerMode
impl UnsafeUnpin for PointerMode
impl UnwindSafe for PointerMode
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