Enum qip::builder_traits::SplitResult
source · pub enum SplitResult<R: QubitRegister + Debug> {
SELECTED(R),
UNSELECTED(R),
SPLIT(R, R),
}
Expand description
Result of splitting a register in two.
Variants§
SELECTED(R)
All registers were selected
UNSELECTED(R)
None of the registers were selected
SPLIT(R, R)
Some registers were selected, some were not selected.
Trait Implementations§
Auto Trait Implementations§
impl<R> RefUnwindSafe for SplitResult<R>where R: RefUnwindSafe,
impl<R> Send for SplitResult<R>where R: Send,
impl<R> Sync for SplitResult<R>where R: Sync,
impl<R> Unpin for SplitResult<R>where R: Unpin,
impl<R> UnwindSafe for SplitResult<R>where R: UnwindSafe,
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