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 · 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 PointerMode
impl Debug for PointerMode
Source§impl PartialEq for PointerMode
impl PartialEq for PointerMode
impl Copy for PointerMode
impl Eq for PointerMode
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 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