pub struct InterfaceRef(/* private fields */);Expand description
Structured client-facing reference to a scoped Interface publication.
Implementations§
Source§impl InterfaceRef
impl InterfaceRef
Sourcepub fn as_str(&self) -> &str
pub fn as_str(&self) -> &str
Returns the local name without parsing or adding display delimiters.
Sourcepub fn protocol_reference(&self) -> InterfaceReference
pub fn protocol_reference(&self) -> InterfaceReference
Returns the structured Protocol reference.
Trait Implementations§
Source§impl Clone for InterfaceRef
impl Clone for InterfaceRef
Source§impl Debug for InterfaceRef
impl Debug for InterfaceRef
impl Eq for InterfaceRef
Source§impl Hash for InterfaceRef
impl Hash for InterfaceRef
Source§impl Ord for InterfaceRef
impl Ord for InterfaceRef
1.21.0 (const: unstable) · Source§fn 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 (const: unstable) · Source§fn 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
Source§impl PartialEq for InterfaceRef
impl PartialEq for InterfaceRef
Source§impl PartialOrd for InterfaceRef
impl PartialOrd for InterfaceRef
impl StructuralPartialEq for InterfaceRef
Auto Trait Implementations§
impl Freeze for InterfaceRef
impl RefUnwindSafe for InterfaceRef
impl Send for InterfaceRef
impl Sync for InterfaceRef
impl Unpin for InterfaceRef
impl UnsafeUnpin for InterfaceRef
impl UnwindSafe for InterfaceRef
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