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 moreAuto Trait Implementations§
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
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.