pub struct StaticId { /* private fields */ }Implementations§
source§impl StaticId
impl StaticId
pub fn from_str(code: &str, venue: &str) -> Self
pub fn from_combined_str(combined: &str) -> Self
pub fn from_bytes(code: &[u8], venue: &[u8]) -> Self
pub fn cache_len() -> usize
pub fn get_id(&self) -> &IdCore
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn upper_bound_len(&self) -> usize
pub fn code_str(&self) -> &str
pub fn venue_str(&self) -> &str
Trait Implementations§
source§impl<'de> Deserialize<'de> for StaticId
impl<'de> Deserialize<'de> for StaticId
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for StaticId
impl Eq for StaticId
Auto Trait Implementations§
impl Freeze for StaticId
impl RefUnwindSafe for StaticId
impl Send for StaticId
impl Sync for StaticId
impl Unpin for StaticId
impl UnwindSafe for StaticId
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)