#[repr(transparent)]pub struct Bound<Id> {
pub boundTo: Id,
}Fields§
§boundTo: IdImplementations§
Trait Implementations§
impl<Id: Copy> Copy for Bound<Id>
impl<Id: Eq> Eq for Bound<Id>
Source§impl From<Bound<*const TypePackVar>> for TypePackVar
impl From<Bound<*const TypePackVar>> for TypePackVar
Source§fn from(v: BoundTypePack) -> Self
fn from(v: BoundTypePack) -> Self
Converts to this type from the input type.
impl<Id: PartialEq> StructuralPartialEq for Bound<Id>
Auto Trait Implementations§
impl<Id> Freeze for Bound<Id>where
Id: Freeze,
impl<Id> RefUnwindSafe for Bound<Id>where
Id: RefUnwindSafe,
impl<Id> Send for Bound<Id>where
Id: Send,
impl<Id> Sync for Bound<Id>where
Id: Sync,
impl<Id> Unpin for Bound<Id>where
Id: Unpin,
impl<Id> UnsafeUnpin for Bound<Id>where
Id: UnsafeUnpin,
impl<Id> UnwindSafe for Bound<Id>where
Id: 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> GetMutableThroughId<*const Type> for Twhere
T: TypeVariantMember + 'static,
impl<T> GetMutableThroughId<*const Type> for Twhere
T: TypeVariantMember + 'static,
Source§impl<T> GetMutableThroughId<*const TypePackVar> for Twhere
T: TypePackVariantMember + 'static,
impl<T> GetMutableThroughId<*const TypePackVar> for Twhere
T: TypePackVariantMember + 'static,
Source§unsafe fn get_mutable_through(tp: *const TypePackVar) -> *mut T
unsafe fn get_mutable_through(tp: *const TypePackVar) -> *mut T
Safety Read more
Source§impl<T> GetThroughId<*const Type> for Twhere
T: TypeVariantMember + 'static,
impl<T> GetThroughId<*const Type> for Twhere
T: TypeVariantMember + 'static,
Source§impl<T> GetThroughId<*const TypePackVar> for Twhere
T: TypePackVariantMember + 'static,
impl<T> GetThroughId<*const TypePackVar> for Twhere
T: TypePackVariantMember + 'static,
Source§unsafe fn get_through(tp: *const TypePackVar) -> *const T
unsafe fn get_through(tp: *const TypePackVar) -> *const T
Safety Read more