Struct llvm_ir::terminator::Unreachable
source · [−]Expand description
Fields
debugloc: Option<DebugLoc>
Trait Implementations
sourceimpl Clone for Unreachable
impl Clone for Unreachable
sourcefn clone(&self) -> Unreachable
fn clone(&self) -> Unreachable
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 more
sourceimpl Debug for Unreachable
impl Debug for Unreachable
sourceimpl Display for Unreachable
impl Display for Unreachable
sourceimpl From<Unreachable> for Terminator
impl From<Unreachable> for Terminator
sourcefn from(term: Unreachable) -> Terminator
fn from(term: Unreachable) -> Terminator
Converts to this type from the input type.
sourceimpl HasDebugLoc for Unreachable
impl HasDebugLoc for Unreachable
sourcefn get_debug_loc(&self) -> &Option<DebugLoc>
fn get_debug_loc(&self) -> &Option<DebugLoc>
Returns the DebugLoc
associated with the given Instruction
,
Terminator
, GlobalVariable
, or Function
; or None
if it doesn’t
have a DebugLoc
. Read more
sourceimpl PartialEq<Unreachable> for Unreachable
impl PartialEq<Unreachable> for Unreachable
sourcefn eq(&self, other: &Unreachable) -> bool
fn eq(&self, other: &Unreachable) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourceimpl TryFrom<Terminator> for Unreachable
impl TryFrom<Terminator> for Unreachable
impl StructuralPartialEq for Unreachable
Auto Trait Implementations
impl RefUnwindSafe for Unreachable
impl Send for Unreachable
impl Sync for Unreachable
impl Unpin for Unreachable
impl UnwindSafe for Unreachable
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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