[][src]Struct llvm_ir::terminator::Br

pub struct Br {
    pub dest: Name,
    pub debugloc: Option<DebugLoc>,
}

See LLVM 10 docs on the 'br' instruction. The LLVM 'br' instruction has both conditional and unconditional variants, which we separate -- this is the unconditional variant, while the conditional variant is CondBr.

Fields

dest: Name

The Name of the BasicBlock destination.

debugloc: Option<DebugLoc>

Trait Implementations

impl Clone for Br[src]

impl Debug for Br[src]

impl From<Br> for Terminator[src]

impl HasDebugLoc for Br[src]

impl PartialEq<Br> for Br[src]

impl StructuralPartialEq for Br[src]

impl TryFrom<Terminator> for Br[src]

type Error = &'static str

The type returned in the event of a conversion error.

impl Typed for Br[src]

Auto Trait Implementations

impl RefUnwindSafe for Br

impl Send for Br

impl Sync for Br

impl Unpin for Br

impl UnwindSafe for Br

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.