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.
impl Send for DistPointRef
impl Sync for DistPointRef
Auto Trait Implementations§
impl !Freeze for DistPointRef
impl !RefUnwindSafe for DistPointRef
impl Unpin for DistPointRef
impl UnwindSafe for DistPointRef
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