#[repr(i32)]pub enum Transpose {
Invalid = 0,
NoTranspose = 1,
Transpose = 2,
Adjoint = 3,
}Expand description
Should we transpose or use the adjoint of ‘a’?
Variants§
Invalid = 0
NoTranspose = 1
Don’t transpose ‘a’.
Transpose = 2
Transpose ‘a’.
Adjoint = 3
Complex conjugate and transpose ‘a’.
Implementations§
Source§impl Transpose
impl Transpose
Sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
Sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
Source§impl Ord for Transpose
impl Ord for Transpose
Source§impl PartialOrd for Transpose
impl PartialOrd for Transpose
impl Copy for Transpose
impl Eq for Transpose
impl StructuralPartialEq for Transpose
Auto Trait Implementations§
impl Freeze for Transpose
impl RefUnwindSafe for Transpose
impl Send for Transpose
impl Sync for Transpose
impl Unpin for Transpose
impl UnwindSafe for Transpose
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)