pub struct DistPointRef(/* private fields */);Expand description
Reference to DistPoint.
Implementations§
Source§impl DistPointRef
impl DistPointRef
Sourcepub fn distpoint(&self) -> Option<&DistPointNameRef>
pub fn distpoint(&self) -> Option<&DistPointNameRef>
Returns the name of this distribution point if it exists
Trait Implementations§
Source§impl AsRef<DistPointRef> for DistPoint
impl AsRef<DistPointRef> for DistPoint
Source§fn as_ref(&self) -> &DistPointRef
fn as_ref(&self) -> &DistPointRef
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Borrow<DistPointRef> for DistPoint
impl Borrow<DistPointRef> for DistPoint
Source§fn borrow(&self) -> &DistPointRef
fn borrow(&self) -> &DistPointRef
Immutably borrows from an owned value. Read more
Source§impl ForeignTypeRef for DistPointRef
impl ForeignTypeRef for DistPointRef
Source§type CType = DIST_POINT
type CType = DIST_POINT
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.