#[non_exhaustive]pub struct DotGeneralOptions {
pub lhs: Conj,
pub rhs: Conj,
}Expand description
Options of dot_general: which operand enters conjugated.
§Examples
use tenferro_tensor::{Conj, DotGeneralOptions};
let options = DotGeneralOptions::default().lhs(Conj::Yes);
assert_eq!((options.lhs, options.rhs), (Conj::Yes, Conj::No));Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.lhs: ConjConjugate the left operand. The default is Conj::No.
rhs: ConjConjugate the right operand. The default is Conj::No.
Implementations§
Trait Implementations§
Source§impl Clone for DotGeneralOptions
impl Clone for DotGeneralOptions
impl Copy for DotGeneralOptions
Source§impl Debug for DotGeneralOptions
impl Debug for DotGeneralOptions
Source§impl Default for DotGeneralOptions
impl Default for DotGeneralOptions
impl Eq for DotGeneralOptions
Source§impl Hash for DotGeneralOptions
impl Hash for DotGeneralOptions
Source§impl PartialEq for DotGeneralOptions
impl PartialEq for DotGeneralOptions
impl StructuralPartialEq for DotGeneralOptions
Auto Trait Implementations§
impl Freeze for DotGeneralOptions
impl RefUnwindSafe for DotGeneralOptions
impl Send for DotGeneralOptions
impl Sync for DotGeneralOptions
impl Unpin for DotGeneralOptions
impl UnsafeUnpin for DotGeneralOptions
impl UnwindSafe for DotGeneralOptions
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