pub struct DistPointNameRef(/* private fields */);Expand description
Reference to DistPointName.
Implementations§
Source§impl DistPointNameRef
impl DistPointNameRef
Sourcepub fn fullname(&self) -> Option<&StackRef<GeneralName>>
pub fn fullname(&self) -> Option<&StackRef<GeneralName>>
Returns the contents of this DistPointName if it is a fullname.
Trait Implementations§
Source§impl AsRef<DistPointNameRef> for DistPointName
impl AsRef<DistPointNameRef> for DistPointName
Source§fn as_ref(&self) -> &DistPointNameRef
fn as_ref(&self) -> &DistPointNameRef
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Borrow<DistPointNameRef> for DistPointName
impl Borrow<DistPointNameRef> for DistPointName
Source§fn borrow(&self) -> &DistPointNameRef
fn borrow(&self) -> &DistPointNameRef
Immutably borrows from an owned value. Read more
Source§impl ForeignTypeRef for DistPointNameRef
impl ForeignTypeRef for DistPointNameRef
Source§type CType = DIST_POINT_NAME
type CType = DIST_POINT_NAME
The raw C type.
Source§unsafe fn from_ptr<'a>(ptr: *mut Self::CType) -> &'a Self
unsafe fn from_ptr<'a>(ptr: *mut Self::CType) -> &'a Self
Constructs a shared instance of this type from its raw type.
Source§unsafe fn from_ptr_mut<'a>(ptr: *mut Self::CType) -> &'a mut Self
unsafe fn from_ptr_mut<'a>(ptr: *mut Self::CType) -> &'a mut Self
Constructs a mutable reference of this type from its raw type.