Enum spirt::SelectionKind
source · pub enum SelectionKind {
BoolCond,
SpvInst(Inst),
}
Variants§
BoolCond
Two-case selection based on boolean condition, i.e. if
-else
, with
the two cases being “then” and “else” (in that order).
SpvInst(Inst)
Trait Implementations§
source§impl Clone for SelectionKind
impl Clone for SelectionKind
source§fn clone(&self) -> SelectionKind
fn clone(&self) -> SelectionKind
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 RefUnwindSafe for SelectionKind
impl Send for SelectionKind
impl Sync for SelectionKind
impl Unpin for SelectionKind
impl UnwindSafe for SelectionKind
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