Struct stable_mir::ty::Placeholder
source · pub struct Placeholder<T> {
pub universe: u32,
pub bound: T,
}
Fields§
§universe: u32
§bound: T
Trait Implementations§
source§impl<T: Clone> Clone for Placeholder<T>
impl<T: Clone> Clone for Placeholder<T>
source§fn clone(&self) -> Placeholder<T>
fn clone(&self) -> Placeholder<T>
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<T: Debug> Debug for Placeholder<T>
impl<T: Debug> Debug for Placeholder<T>
source§impl<T: PartialEq> PartialEq for Placeholder<T>
impl<T: PartialEq> PartialEq for Placeholder<T>
source§fn eq(&self, other: &Placeholder<T>) -> bool
fn eq(&self, other: &Placeholder<T>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<T: Eq> Eq for Placeholder<T>
impl<T> StructuralPartialEq for Placeholder<T>
Auto Trait Implementations§
impl<T> Freeze for Placeholder<T>where
T: Freeze,
impl<T> RefUnwindSafe for Placeholder<T>where
T: RefUnwindSafe,
impl<T> Send for Placeholder<T>where
T: Send,
impl<T> Sync for Placeholder<T>where
T: Sync,
impl<T> Unpin for Placeholder<T>where
T: Unpin,
impl<T> UnwindSafe for Placeholder<T>where
T: 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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)Layout§
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.