pub struct MonikerView<'a> { /* private fields */ }Implementations§
Source§impl<'a> MonikerView<'a>
impl<'a> MonikerView<'a>
pub fn bind_match(&self, other: &MonikerView<'_>) -> bool
pub fn lang_segment(&self) -> Option<&[u8]>
Source§impl<'a> MonikerView<'a>
impl<'a> MonikerView<'a>
pub fn from_bytes(bytes: &'a [u8]) -> Result<Self, EncodingError>
pub unsafe fn from_canonical_bytes(bytes: &'a [u8]) -> Self
pub fn project(&self) -> &'a [u8] ⓘ
pub fn segment_count(&self) -> u16
pub fn segments(&self) -> SegmentIter<'a> ⓘ
pub fn as_bytes(&self) -> &'a [u8] ⓘ
pub fn is_ancestor_of(&self, other: &MonikerView<'_>) -> bool
Trait Implementations§
Source§impl<'a> Clone for MonikerView<'a>
impl<'a> Clone for MonikerView<'a>
Source§fn clone(&self) -> MonikerView<'a>
fn clone(&self) -> MonikerView<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for MonikerView<'a>
impl<'a> Debug for MonikerView<'a>
impl<'a> Copy for MonikerView<'a>
Auto Trait Implementations§
impl<'a> Freeze for MonikerView<'a>
impl<'a> RefUnwindSafe for MonikerView<'a>
impl<'a> Send for MonikerView<'a>
impl<'a> Sync for MonikerView<'a>
impl<'a> Unpin for MonikerView<'a>
impl<'a> UnsafeUnpin for MonikerView<'a>
impl<'a> UnwindSafe for MonikerView<'a>
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