Struct aldrin::LifetimeId
source · #[repr(transparent)]pub struct LifetimeId(pub ObjectId);
Expand description
Id of a scope’s lifetime.
Tuple Fields§
§0: ObjectId
Implementations§
Trait Implementations§
source§impl Clone for LifetimeId
impl Clone for LifetimeId
source§fn clone(&self) -> LifetimeId
fn clone(&self) -> LifetimeId
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for LifetimeId
impl Debug for LifetimeId
source§impl Default for LifetimeId
impl Default for LifetimeId
source§fn default() -> LifetimeId
fn default() -> LifetimeId
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for LifetimeId
impl<'de> Deserialize<'de> for LifetimeId
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
source§impl Deserialize for LifetimeId
impl Deserialize for LifetimeId
fn deserialize( deserializer: Deserializer<'_, '_>, ) -> Result<Self, DeserializeError>
source§impl From<LifetimeId> for ObjectId
impl From<LifetimeId> for ObjectId
source§fn from(id: LifetimeId) -> Self
fn from(id: LifetimeId) -> Self
Converts to this type from the input type.
source§impl From<ObjectId> for LifetimeId
impl From<ObjectId> for LifetimeId
source§impl Hash for LifetimeId
impl Hash for LifetimeId
source§impl Ord for LifetimeId
impl Ord for LifetimeId
source§fn cmp(&self, other: &LifetimeId) -> Ordering
fn cmp(&self, other: &LifetimeId) -> Ordering
1.21.0 · 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
source§impl PartialEq for LifetimeId
impl PartialEq for LifetimeId
source§impl PartialOrd for LifetimeId
impl PartialOrd for LifetimeId
source§impl Serialize for LifetimeId
impl Serialize for LifetimeId
source§impl Serialize for LifetimeId
impl Serialize for LifetimeId
fn serialize(&self, serializer: Serializer<'_>) -> Result<(), SerializeError>
impl Copy for LifetimeId
impl Eq for LifetimeId
impl StructuralPartialEq for LifetimeId
Auto Trait Implementations§
impl Freeze for LifetimeId
impl RefUnwindSafe for LifetimeId
impl Send for LifetimeId
impl Sync for LifetimeId
impl Unpin for LifetimeId
impl UnwindSafe for LifetimeId
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
)