Struct gluon_base::symbol::NameBuf
source · pub struct NameBuf(/* private fields */);
Implementations§
Methods from Deref<Target = Name>§
pub fn as_pretty_str(&self) -> &str
pub fn len(&self) -> usize
pub fn as_str(&self) -> &str
pub fn components(&self) -> Components<'_> ⓘ
pub fn module(&self) -> &Name
pub fn name(&self) -> &Name
pub fn declared_name(&self) -> &str
pub fn definition_name(&self) -> &str
Trait Implementations§
source§impl<'de, S> DeserializeState<'de, S> for NameBuf
impl<'de, S> DeserializeState<'de, S> for NameBuf
source§fn deserialize_state<__D>(
__seed: &mut S,
__deserializer: __D
) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize_state<__D>(
__seed: &mut S,
__deserializer: __D
) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserializes
Self
using seed
and the deserializer
source§impl Ord for NameBuf
impl Ord for NameBuf
source§impl PartialEq for NameBuf
impl PartialEq for NameBuf
source§impl PartialOrd for NameBuf
impl PartialOrd for NameBuf
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for NameBuf
impl StructuralEq for NameBuf
impl StructuralPartialEq for NameBuf
Auto Trait Implementations§
impl RefUnwindSafe for NameBuf
impl Send for NameBuf
impl Sync for NameBuf
impl Unpin for NameBuf
impl UnwindSafe for NameBuf
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