pub struct ClosureTypeId(pub u32);Expand description
Opaque ID into a registry of closure capture layouts.
Tuple Fields§
§0: u32Trait Implementations§
Source§impl Clone for ClosureTypeId
impl Clone for ClosureTypeId
Source§fn clone(&self) -> ClosureTypeId
fn clone(&self) -> ClosureTypeId
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 Debug for ClosureTypeId
impl Debug for ClosureTypeId
Source§impl<'de> Deserialize<'de> for ClosureTypeId
impl<'de> Deserialize<'de> for ClosureTypeId
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 Hash for ClosureTypeId
impl Hash for ClosureTypeId
Source§impl PartialEq for ClosureTypeId
impl PartialEq for ClosureTypeId
Source§fn eq(&self, other: &ClosureTypeId) -> bool
fn eq(&self, other: &ClosureTypeId) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ClosureTypeId
impl Serialize for ClosureTypeId
impl Copy for ClosureTypeId
impl Eq for ClosureTypeId
impl StructuralPartialEq for ClosureTypeId
Auto Trait Implementations§
impl Freeze for ClosureTypeId
impl RefUnwindSafe for ClosureTypeId
impl Send for ClosureTypeId
impl Sync for ClosureTypeId
impl Unpin for ClosureTypeId
impl UnsafeUnpin for ClosureTypeId
impl UnwindSafe for ClosureTypeId
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