Struct mun_memory::PointerType
source · pub struct PointerType<'t> { /* private fields */ }
Expand description
Reference information of a pointer
Implementations§
source§impl<'t> PointerType<'t>
impl<'t> PointerType<'t>
sourcepub fn is_mutable(&self) -> bool
pub fn is_mutable(&self) -> bool
Returns true if this is a mutable pointer type
sourcepub fn is_immutable(&self) -> bool
pub fn is_immutable(&self) -> bool
Returns true if this is a immutable pointer type
Trait Implementations§
source§impl<'t> Clone for PointerType<'t>
impl<'t> Clone for PointerType<'t>
source§fn clone(&self) -> PointerType<'t>
fn clone(&self) -> PointerType<'t>
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<'t> Display for PointerType<'t>
impl<'t> Display for PointerType<'t>
source§impl<'t> From<PointerType<'t>> for PointerInfo
impl<'t> From<PointerType<'t>> for PointerInfo
source§fn from(ty: PointerType<'t>) -> Self
fn from(ty: PointerType<'t>) -> Self
Converts to this type from the input type.