Struct rustc_hir::errors::LangItemError
source · pub struct LangItemError(pub LangItem);
Tuple Fields§
§0: LangItem
Trait Implementations§
source§impl Clone for LangItemError
impl Clone for LangItemError
source§fn clone(&self) -> LangItemError
fn clone(&self) -> LangItemError
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 LangItemError
impl Debug for LangItemError
source§impl<__D: Decoder> Decodable<__D> for LangItemError
impl<__D: Decoder> Decodable<__D> for LangItemError
source§impl<__E: Encoder> Encodable<__E> for LangItemError
impl<__E: Encoder> Encodable<__E> for LangItemError
source§impl Hash for LangItemError
impl Hash for LangItemError
source§impl PartialEq<LangItemError> for LangItemError
impl PartialEq<LangItemError> for LangItemError
source§fn eq(&self, other: &LangItemError) -> bool
fn eq(&self, other: &LangItemError) -> bool
source§impl ToString for LangItemError
impl ToString for LangItemError
impl Copy for LangItemError
impl Eq for LangItemError
impl StructuralEq for LangItemError
impl StructuralPartialEq for LangItemError
Auto Trait Implementations§
impl RefUnwindSafe for LangItemError
impl Send for LangItemError
impl Sync for LangItemError
impl Unpin for LangItemError
impl UnwindSafe for LangItemError
Blanket Implementations§
source§impl<'tcx, T> ArenaAllocatable<'tcx, IsCopy> for Twhere
T: Copy,
impl<'tcx, T> ArenaAllocatable<'tcx, IsCopy> for Twhere
T: Copy,
fn allocate_on<'a>(self, arena: &'a Arena<'tcx>) -> &'a mut T
fn allocate_from_iter<'a>(
arena: &'a Arena<'tcx>,
iter: impl IntoIterator<Item = T>
) -> &'a mut [T] ⓘ
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 1 byte