Struct rustc_hir::errors::LangItemError
source · pub struct LangItemError(pub LangItem);
Tuple Fields
0: LangItem
Trait Implementations
sourceimpl Clone for LangItemError
impl Clone for LangItemError
sourcefn clone(&self) -> LangItemError
fn clone(&self) -> LangItemError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for LangItemError
impl Debug for LangItemError
sourceimpl<__D: Decoder> Decodable<__D> for LangItemError
impl<__D: Decoder> Decodable<__D> for LangItemError
sourceimpl<__E: Encoder> Encodable<__E> for LangItemError
impl<__E: Encoder> Encodable<__E> for LangItemError
sourceimpl Hash for LangItemError
impl Hash for LangItemError
sourceimpl PartialEq<LangItemError> for LangItemError
impl PartialEq<LangItemError> for LangItemError
sourcefn eq(&self, other: &LangItemError) -> bool
fn eq(&self, other: &LangItemError) -> bool
sourceimpl 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
sourceimpl<'tcx, T> ArenaAllocatable<'tcx, IsCopy> for Twhere
T: Copy,
impl<'tcx, T> ArenaAllocatable<'tcx, IsCopy> for Twhere
T: Copy,
fn allocate_on(self, arena: &'a Arena<'tcx>) -> &'a mut T
fn allocate_from_iter(
arena: &'a Arena<'tcx>,
iter: impl IntoIterator<Item = T>
) -> &'a mut [T]ⓘNotable traits for &[u8]impl Read for &[u8]impl Write for &mut [u8]
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
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