pub struct SlotKey { /* private fields */ }Expand description
Strongly-typed logical instance slot identifier (locates a slot without inferring interface types).
Implementations§
Source§impl SlotKey
Convenience constructors for SlotKey.
impl SlotKey
Convenience constructors for SlotKey.
Sourcepub fn from_str_key(key: &str) -> Self
pub fn from_str_key(key: &str) -> Self
Sourcepub fn scoped_for_route(&self, route: &str) -> String
pub fn scoped_for_route(&self, route: &str) -> String
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SlotKey
impl<'de> Deserialize<'de> for SlotKey
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 Eq for SlotKey
Source§impl Ord for SlotKey
impl Ord for SlotKey
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 PartialOrd for SlotKey
impl PartialOrd for SlotKey
impl StructuralPartialEq for SlotKey
Auto Trait Implementations§
impl Forget for SlotKey
impl Freeze for SlotKey
impl Move for SlotKey
impl RefUnwindSafe for SlotKey
impl Send for SlotKeywhere
RawVecInner: Send,
impl Sync for SlotKeywhere
RawVecInner: Sync,
impl Unpin for SlotKey
impl UnsafeUnpin for SlotKey
impl UnwindSafe for SlotKeywhere
RawVecInner: UnwindSafe,
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