Struct assembler::mnemonic_parameter_types::memory::MemoryOperand
source · pub struct MemoryOperand { /* private fields */ }
Expand description
A memory operand.
Trait Implementations
sourceimpl Clone for MemoryOperand
impl Clone for MemoryOperand
sourcefn clone(&self) -> MemoryOperand
fn clone(&self) -> MemoryOperand
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for MemoryOperand
impl Debug for MemoryOperand
sourceimpl Default for MemoryOperand
impl Default for MemoryOperand
sourcefn default() -> MemoryOperand
fn default() -> MemoryOperand
Returns the “default value” for a type. Read more
sourceimpl From<MemoryOperand> for Any128BitMemory
impl From<MemoryOperand> for Any128BitMemory
sourcefn from(memory_operand: MemoryOperand) -> Self
fn from(memory_operand: MemoryOperand) -> Self
Converts to this type from the input type.
sourceimpl From<MemoryOperand> for Any16BitMemory
impl From<MemoryOperand> for Any16BitMemory
sourcefn from(memory_operand: MemoryOperand) -> Self
fn from(memory_operand: MemoryOperand) -> Self
Converts to this type from the input type.
sourceimpl From<MemoryOperand> for Any256BitMemory
impl From<MemoryOperand> for Any256BitMemory
sourcefn from(memory_operand: MemoryOperand) -> Self
fn from(memory_operand: MemoryOperand) -> Self
Converts to this type from the input type.
sourceimpl From<MemoryOperand> for Any32BitMemory
impl From<MemoryOperand> for Any32BitMemory
sourcefn from(memory_operand: MemoryOperand) -> Self
fn from(memory_operand: MemoryOperand) -> Self
Converts to this type from the input type.
sourceimpl From<MemoryOperand> for Any64BitMemory
impl From<MemoryOperand> for Any64BitMemory
sourcefn from(memory_operand: MemoryOperand) -> Self
fn from(memory_operand: MemoryOperand) -> Self
Converts to this type from the input type.
sourceimpl From<MemoryOperand> for Any8BitMemory
impl From<MemoryOperand> for Any8BitMemory
sourcefn from(memory_operand: MemoryOperand) -> Self
fn from(memory_operand: MemoryOperand) -> Self
Converts to this type from the input type.
sourceimpl From<MemoryOperand> for Contiguous108ByteMemory
impl From<MemoryOperand> for Contiguous108ByteMemory
sourcefn from(memory_operand: MemoryOperand) -> Self
fn from(memory_operand: MemoryOperand) -> Self
Converts to this type from the input type.
sourceimpl From<MemoryOperand> for Contiguous28ByteMemory
impl From<MemoryOperand> for Contiguous28ByteMemory
sourcefn from(memory_operand: MemoryOperand) -> Self
fn from(memory_operand: MemoryOperand) -> Self
Converts to this type from the input type.
sourceimpl From<MemoryOperand> for Contiguous2ByteMemory
impl From<MemoryOperand> for Contiguous2ByteMemory
sourcefn from(memory_operand: MemoryOperand) -> Self
fn from(memory_operand: MemoryOperand) -> Self
Converts to this type from the input type.
sourceimpl From<MemoryOperand> for Contiguous512ByteMemory
impl From<MemoryOperand> for Contiguous512ByteMemory
sourcefn from(memory_operand: MemoryOperand) -> Self
fn from(memory_operand: MemoryOperand) -> Self
Converts to this type from the input type.
sourceimpl From<MemoryOperand> for FarPointer16BitTo16BitMemory
impl From<MemoryOperand> for FarPointer16BitTo16BitMemory
sourcefn from(memory_operand: MemoryOperand) -> Self
fn from(memory_operand: MemoryOperand) -> Self
Converts to this type from the input type.
sourceimpl From<MemoryOperand> for FarPointer16BitTo32BitMemory
impl From<MemoryOperand> for FarPointer16BitTo32BitMemory
sourcefn from(memory_operand: MemoryOperand) -> Self
fn from(memory_operand: MemoryOperand) -> Self
Converts to this type from the input type.
sourceimpl From<MemoryOperand> for FarPointer16BitTo64BitMemory
impl From<MemoryOperand> for FarPointer16BitTo64BitMemory
sourcefn from(memory_operand: MemoryOperand) -> Self
fn from(memory_operand: MemoryOperand) -> Self
Converts to this type from the input type.
sourceimpl From<MemoryOperand> for X87BinaryCodedDecimal80BitMemory
impl From<MemoryOperand> for X87BinaryCodedDecimal80BitMemory
sourcefn from(memory_operand: MemoryOperand) -> Self
fn from(memory_operand: MemoryOperand) -> Self
Converts to this type from the input type.
sourceimpl From<MemoryOperand> for X87Float32BitMemory
impl From<MemoryOperand> for X87Float32BitMemory
sourcefn from(memory_operand: MemoryOperand) -> Self
fn from(memory_operand: MemoryOperand) -> Self
Converts to this type from the input type.
sourceimpl From<MemoryOperand> for X87Float64BitMemory
impl From<MemoryOperand> for X87Float64BitMemory
sourcefn from(memory_operand: MemoryOperand) -> Self
fn from(memory_operand: MemoryOperand) -> Self
Converts to this type from the input type.
sourceimpl From<MemoryOperand> for X87Float80BitMemory
impl From<MemoryOperand> for X87Float80BitMemory
sourcefn from(memory_operand: MemoryOperand) -> Self
fn from(memory_operand: MemoryOperand) -> Self
Converts to this type from the input type.
sourceimpl From<MemoryOperand> for X87Integer16BitMemory
impl From<MemoryOperand> for X87Integer16BitMemory
sourcefn from(memory_operand: MemoryOperand) -> Self
fn from(memory_operand: MemoryOperand) -> Self
Converts to this type from the input type.
sourceimpl From<MemoryOperand> for X87Integer32BitMemory
impl From<MemoryOperand> for X87Integer32BitMemory
sourcefn from(memory_operand: MemoryOperand) -> Self
fn from(memory_operand: MemoryOperand) -> Self
Converts to this type from the input type.
sourceimpl From<MemoryOperand> for X87Integer64BitMemory
impl From<MemoryOperand> for X87Integer64BitMemory
sourcefn from(memory_operand: MemoryOperand) -> Self
fn from(memory_operand: MemoryOperand) -> Self
Converts to this type from the input type.
sourceimpl Hash for MemoryOperand
impl Hash for MemoryOperand
sourceimpl Into<MemoryOperand> for Any128BitMemory
impl Into<MemoryOperand> for Any128BitMemory
sourcefn into(self) -> MemoryOperand
fn into(self) -> MemoryOperand
Converts this type into the (usually inferred) input type.
sourceimpl Into<MemoryOperand> for Any16BitMemory
impl Into<MemoryOperand> for Any16BitMemory
sourcefn into(self) -> MemoryOperand
fn into(self) -> MemoryOperand
Converts this type into the (usually inferred) input type.
sourceimpl Into<MemoryOperand> for Any256BitMemory
impl Into<MemoryOperand> for Any256BitMemory
sourcefn into(self) -> MemoryOperand
fn into(self) -> MemoryOperand
Converts this type into the (usually inferred) input type.
sourceimpl Into<MemoryOperand> for Any32BitMemory
impl Into<MemoryOperand> for Any32BitMemory
sourcefn into(self) -> MemoryOperand
fn into(self) -> MemoryOperand
Converts this type into the (usually inferred) input type.
sourceimpl Into<MemoryOperand> for Any64BitMemory
impl Into<MemoryOperand> for Any64BitMemory
sourcefn into(self) -> MemoryOperand
fn into(self) -> MemoryOperand
Converts this type into the (usually inferred) input type.
sourceimpl Into<MemoryOperand> for Any8BitMemory
impl Into<MemoryOperand> for Any8BitMemory
sourcefn into(self) -> MemoryOperand
fn into(self) -> MemoryOperand
Converts this type into the (usually inferred) input type.
sourceimpl Into<MemoryOperand> for Contiguous108ByteMemory
impl Into<MemoryOperand> for Contiguous108ByteMemory
sourcefn into(self) -> MemoryOperand
fn into(self) -> MemoryOperand
Converts this type into the (usually inferred) input type.
sourceimpl Into<MemoryOperand> for Contiguous28ByteMemory
impl Into<MemoryOperand> for Contiguous28ByteMemory
sourcefn into(self) -> MemoryOperand
fn into(self) -> MemoryOperand
Converts this type into the (usually inferred) input type.
sourceimpl Into<MemoryOperand> for Contiguous2ByteMemory
impl Into<MemoryOperand> for Contiguous2ByteMemory
sourcefn into(self) -> MemoryOperand
fn into(self) -> MemoryOperand
Converts this type into the (usually inferred) input type.
sourceimpl Into<MemoryOperand> for Contiguous512ByteMemory
impl Into<MemoryOperand> for Contiguous512ByteMemory
sourcefn into(self) -> MemoryOperand
fn into(self) -> MemoryOperand
Converts this type into the (usually inferred) input type.
sourceimpl Into<MemoryOperand> for FarPointer16BitTo16BitMemory
impl Into<MemoryOperand> for FarPointer16BitTo16BitMemory
sourcefn into(self) -> MemoryOperand
fn into(self) -> MemoryOperand
Converts this type into the (usually inferred) input type.
sourceimpl Into<MemoryOperand> for FarPointer16BitTo32BitMemory
impl Into<MemoryOperand> for FarPointer16BitTo32BitMemory
sourcefn into(self) -> MemoryOperand
fn into(self) -> MemoryOperand
Converts this type into the (usually inferred) input type.
sourceimpl Into<MemoryOperand> for FarPointer16BitTo64BitMemory
impl Into<MemoryOperand> for FarPointer16BitTo64BitMemory
sourcefn into(self) -> MemoryOperand
fn into(self) -> MemoryOperand
Converts this type into the (usually inferred) input type.
sourceimpl Into<MemoryOperand> for X87BinaryCodedDecimal80BitMemory
impl Into<MemoryOperand> for X87BinaryCodedDecimal80BitMemory
sourcefn into(self) -> MemoryOperand
fn into(self) -> MemoryOperand
Converts this type into the (usually inferred) input type.
sourceimpl Into<MemoryOperand> for X87Float32BitMemory
impl Into<MemoryOperand> for X87Float32BitMemory
sourcefn into(self) -> MemoryOperand
fn into(self) -> MemoryOperand
Converts this type into the (usually inferred) input type.
sourceimpl Into<MemoryOperand> for X87Float64BitMemory
impl Into<MemoryOperand> for X87Float64BitMemory
sourcefn into(self) -> MemoryOperand
fn into(self) -> MemoryOperand
Converts this type into the (usually inferred) input type.
sourceimpl Into<MemoryOperand> for X87Float80BitMemory
impl Into<MemoryOperand> for X87Float80BitMemory
sourcefn into(self) -> MemoryOperand
fn into(self) -> MemoryOperand
Converts this type into the (usually inferred) input type.
sourceimpl Into<MemoryOperand> for X87Integer16BitMemory
impl Into<MemoryOperand> for X87Integer16BitMemory
sourcefn into(self) -> MemoryOperand
fn into(self) -> MemoryOperand
Converts this type into the (usually inferred) input type.
sourceimpl Into<MemoryOperand> for X87Integer32BitMemory
impl Into<MemoryOperand> for X87Integer32BitMemory
sourcefn into(self) -> MemoryOperand
fn into(self) -> MemoryOperand
Converts this type into the (usually inferred) input type.
sourceimpl Into<MemoryOperand> for X87Integer64BitMemory
impl Into<MemoryOperand> for X87Integer64BitMemory
sourcefn into(self) -> MemoryOperand
fn into(self) -> MemoryOperand
Converts this type into the (usually inferred) input type.
sourceimpl Memory for MemoryOperand
impl Memory for MemoryOperand
sourcefn base_64_index_64(base_64: Register64Bit, index_64: Register64Bit) -> Self
fn base_64_index_64(base_64: Register64Bit, index_64: Register64Bit) -> Self
If base_64
is RBP
, then the SIB byte is followed by four-byte disp32
field and the addressing mode is absolute.
If index_64
is RSP
, then the index is ignored.
sourcefn base_64_index_64_scale(
base_64: Register64Bit,
index_64: Register64Bit,
scale: IndexScale
) -> Self
fn base_64_index_64_scale(
base_64: Register64Bit,
index_64: Register64Bit,
scale: IndexScale
) -> Self
If base_64
is RBP
, then the SIB byte is followed by four-byte disp32
field and the addressing mode is absolute.
If index_64
is RSP
, then the index is ignored.
sourcefn base_64_index_64_scale_displacement(
base_64: Register64Bit,
index_64: Register64Bit,
scale: IndexScale,
displacement: Immediate32Bit
) -> Self
fn base_64_index_64_scale_displacement(
base_64: Register64Bit,
index_64: Register64Bit,
scale: IndexScale,
displacement: Immediate32Bit
) -> Self
If base_64
is RBP
, then the SIB byte is followed by four-byte disp32
field and the addressing mode is absolute.
If index_64
is RSP
, then the index is ignored.
sourcefn relative_instruction_pointer_relative() -> Self
fn relative_instruction_pointer_relative() -> Self
Create a new memory operand using the
RIP
(relative instruction pointer) form.sourcefn relative_instruction_pointer_relative_displacement(
displacement: Immediate32Bit
) -> Self
fn relative_instruction_pointer_relative_displacement(
displacement: Immediate32Bit
) -> Self
Create a new memory operand using the
RIP+displacement
(relative instruction pointer) form.sourcefn displacement(displacement: Immediate32Bit) -> Self
fn displacement(displacement: Immediate32Bit) -> Self
Create a new memory operand using the
displacement
form.sourcefn base_64(base_64: Register64Bit) -> Self
fn base_64(base_64: Register64Bit) -> Self
Create a new memory operand using the
base64
form. Read moresourcefn base_64_displacement(
base_64: Register64Bit,
displacement: Immediate32Bit
) -> Self
fn base_64_displacement(
base_64: Register64Bit,
displacement: Immediate32Bit
) -> Self
Create a new memory operand using the
displacement(base64)
form. Read moresourcefn index_64(index_64: Register64Bit) -> Self
fn index_64(index_64: Register64Bit) -> Self
Create a new memory operand using the
(index64,scale)
form where scale
is 1
.sourcefn index_64_scale(index_64: Register64Bit, scale: IndexScale) -> Self
fn index_64_scale(index_64: Register64Bit, scale: IndexScale) -> Self
Create a new memory operand using the
(index64,scale)
form.sourcefn index_64_scale_displacement(
index_64: Register64Bit,
scale: IndexScale,
displacement: Immediate32Bit
) -> Self
fn index_64_scale_displacement(
index_64: Register64Bit,
scale: IndexScale,
displacement: Immediate32Bit
) -> Self
Create a new memory operand using the
displacement:(index64,scale)
form.sourcefn base_32(base_32: Register32Bit) -> Self
fn base_32(base_32: Register32Bit) -> Self
Create a new memory operand using the
base32
form. Read moresourcefn base_32_displacement(
base_32: Register32Bit,
displacement: Immediate32Bit
) -> Self
fn base_32_displacement(
base_32: Register32Bit,
displacement: Immediate32Bit
) -> Self
Create a new memory operand using the
displacement(base32)
form. Read moresourcefn index_32(index_32: Register32Bit) -> Self
fn index_32(index_32: Register32Bit) -> Self
Create a new memory operand using the
(index32,scale)
form where scale
is 1
.sourcefn index_32_scale(index_32: Register32Bit, scale: IndexScale) -> Self
fn index_32_scale(index_32: Register32Bit, scale: IndexScale) -> Self
Create a new memory operand using the
(index32,scale)
form.sourcefn index_32_scale_displacement(
index_32: Register32Bit,
scale: IndexScale,
displacement: Immediate32Bit
) -> Self
fn index_32_scale_displacement(
index_32: Register32Bit,
scale: IndexScale,
displacement: Immediate32Bit
) -> Self
Create a new memory operand using the
displacement:(index32,scale)
form.sourcefn base_32_index_32(base_32: Register32Bit, index_32: Register32Bit) -> Self
fn base_32_index_32(base_32: Register32Bit, index_32: Register32Bit) -> Self
Create a new memory operand using the
(base32,index32,scale)
form where scale
is 1.sourcefn base_32_index_32_scale(
base_32: Register32Bit,
index_32: Register32Bit,
scale: IndexScale
) -> Self
fn base_32_index_32_scale(
base_32: Register32Bit,
index_32: Register32Bit,
scale: IndexScale
) -> Self
Create a new memory operand using the
(base32,index32,scale)
form.sourcefn base_32_index_32_scale_displacement(
base_32: Register32Bit,
index_32: Register32Bit,
scale: IndexScale,
displacement: Immediate32Bit
) -> Self
fn base_32_index_32_scale_displacement(
base_32: Register32Bit,
index_32: Register32Bit,
scale: IndexScale,
displacement: Immediate32Bit
) -> Self
Create a new memory operand using the
displacement(base32,index32,scale)
form.sourcefn segment_relative_instruction_pointer_relative(
segment_register: SegmentRegister
) -> Self
fn segment_relative_instruction_pointer_relative(
segment_register: SegmentRegister
) -> Self
Create a new memory operand using the
segment:RIP
(relative instruction pointer) form.sourcefn segment_relative_instruction_pointer_relative_displacement(
segment_register: SegmentRegister,
displacement: Immediate32Bit
) -> Self
fn segment_relative_instruction_pointer_relative_displacement(
segment_register: SegmentRegister,
displacement: Immediate32Bit
) -> Self
Create a new memory operand using the
segment:RIP+displacement
(relative instruction pointer) form.sourcefn segment_displacement(
segment_register: SegmentRegister,
displacement: Immediate32Bit
) -> Self
fn segment_displacement(
segment_register: SegmentRegister,
displacement: Immediate32Bit
) -> Self
Create a new memory operand using the
segment:displacement
form.sourcefn segment_base_64(
segment_register: SegmentRegister,
base_64: Register64Bit
) -> Self
fn segment_base_64(
segment_register: SegmentRegister,
base_64: Register64Bit
) -> Self
Create a new memory operand using the
segment:base64
form. Read moresourcefn segment_base_64_displacement(
segment_register: SegmentRegister,
base_64: Register64Bit,
displacement: Immediate32Bit
) -> Self
fn segment_base_64_displacement(
segment_register: SegmentRegister,
base_64: Register64Bit,
displacement: Immediate32Bit
) -> Self
Create a new memory operand using the
segment:displacement(base64)
form. Read moresourcefn segment_index_64_scale(
segment_register: SegmentRegister,
index_64: Register64Bit,
scale: IndexScale
) -> Self
fn segment_index_64_scale(
segment_register: SegmentRegister,
index_64: Register64Bit,
scale: IndexScale
) -> Self
Create a new memory operand using the
segment:(index64,scale)
form.sourcefn segment_index_64_scale_displacement(
segment_register: SegmentRegister,
index_64: Register64Bit,
scale: IndexScale,
displacement: Immediate32Bit
) -> Self
fn segment_index_64_scale_displacement(
segment_register: SegmentRegister,
index_64: Register64Bit,
scale: IndexScale,
displacement: Immediate32Bit
) -> Self
Create a new memory operand using the
segment:displacement:(index64,scale)
form.sourcefn segment_base_64_index_64_scale_displacement(
segment_register: SegmentRegister,
base_64: Register64Bit,
index_64: Register64Bit,
scale: IndexScale,
displacement: Immediate32Bit
) -> Self
fn segment_base_64_index_64_scale_displacement(
segment_register: SegmentRegister,
base_64: Register64Bit,
index_64: Register64Bit,
scale: IndexScale,
displacement: Immediate32Bit
) -> Self
Create a new memory operand using the
segment:displacement(base64,index64,scale)
form.sourcefn segment_base_64_index_64_scale(
segment_register: SegmentRegister,
base_64: Register64Bit,
index_64: Register64Bit,
scale: IndexScale
) -> Self
fn segment_base_64_index_64_scale(
segment_register: SegmentRegister,
base_64: Register64Bit,
index_64: Register64Bit,
scale: IndexScale
) -> Self
Create a new memory operand using the
segment:(base64,index64,scale)
form.sourcefn segment_base_32(
segment_register: SegmentRegister,
base_32: Register32Bit
) -> Self
fn segment_base_32(
segment_register: SegmentRegister,
base_32: Register32Bit
) -> Self
Create a new memory operand using the
segment:base32
form. Read moresourcefn segment_base_32_displacement(
segment_register: SegmentRegister,
base_32: Register32Bit,
displacement: Immediate32Bit
) -> Self
fn segment_base_32_displacement(
segment_register: SegmentRegister,
base_32: Register32Bit,
displacement: Immediate32Bit
) -> Self
Create a new memory operand using the
segment:displacement(base32)
form. Read moresourcefn segment_index_32_scale(
segment_register: SegmentRegister,
index_32: Register32Bit,
scale: IndexScale
) -> Self
fn segment_index_32_scale(
segment_register: SegmentRegister,
index_32: Register32Bit,
scale: IndexScale
) -> Self
Create a new memory operand using the
segment:(index32,scale)
form.sourcefn segment_index_32_scale_displacement(
segment_register: SegmentRegister,
index_32: Register32Bit,
scale: IndexScale,
displacement: Immediate32Bit
) -> Self
fn segment_index_32_scale_displacement(
segment_register: SegmentRegister,
index_32: Register32Bit,
scale: IndexScale,
displacement: Immediate32Bit
) -> Self
Create a new memory operand using the
segment:displacement:(index32,scale)
form.sourcefn segment_base_32_index_32_scale_displacement(
segment_register: SegmentRegister,
base_32: Register32Bit,
index_32: Register32Bit,
scale: IndexScale,
displacement: Immediate32Bit
) -> Self
fn segment_base_32_index_32_scale_displacement(
segment_register: SegmentRegister,
base_32: Register32Bit,
index_32: Register32Bit,
scale: IndexScale,
displacement: Immediate32Bit
) -> Self
Create a new memory operand using the
segment:displacement(base32,index32,scale)
form.sourcefn segment_base_32_index_32_scale(
segment_register: SegmentRegister,
base_32: Register32Bit,
index_32: Register32Bit,
scale: IndexScale
) -> Self
fn segment_base_32_index_32_scale(
segment_register: SegmentRegister,
base_32: Register32Bit,
index_32: Register32Bit,
scale: IndexScale
) -> Self
Create a new memory operand using the
segment:(base32,index32,scale)
form.sourceimpl Ord for MemoryOperand
impl Ord for MemoryOperand
sourcefn cmp(&self, other: &MemoryOperand) -> Ordering
fn cmp(&self, other: &MemoryOperand) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<MemoryOperand> for MemoryOperand
impl PartialEq<MemoryOperand> for MemoryOperand
sourcefn eq(&self, other: &MemoryOperand) -> bool
fn eq(&self, other: &MemoryOperand) -> bool
sourceimpl PartialOrd<MemoryOperand> for MemoryOperand
impl PartialOrd<MemoryOperand> for MemoryOperand
sourcefn partial_cmp(&self, other: &MemoryOperand) -> Option<Ordering>
fn partial_cmp(&self, other: &MemoryOperand) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for MemoryOperand
impl Eq for MemoryOperand
impl StructuralEq for MemoryOperand
impl StructuralPartialEq for MemoryOperand
Auto Trait Implementations
impl RefUnwindSafe for MemoryOperand
impl Send for MemoryOperand
impl Sync for MemoryOperand
impl Unpin for MemoryOperand
impl UnwindSafe for MemoryOperand
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more