Struct einsum_codegen::parser::RawSubscripts
source · pub struct RawSubscripts {
pub inputs: Vec<RawSubscript>,
pub output: Option<RawSubscript>,
}
Expand description
Einsum subscripts, e.g. ij,jk->ik
Fields§
§inputs: Vec<RawSubscript>
Input subscript, ij
and jk
output: Option<RawSubscript>
Output subscript. This may be empty for “implicit mode”.
Trait Implementations§
source§impl Debug for RawSubscripts
impl Debug for RawSubscripts
source§impl FromStr for RawSubscripts
impl FromStr for RawSubscripts
source§impl PartialEq for RawSubscripts
impl PartialEq for RawSubscripts
source§fn eq(&self, other: &RawSubscripts) -> bool
fn eq(&self, other: &RawSubscripts) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for RawSubscripts
impl StructuralPartialEq for RawSubscripts
Auto Trait Implementations§
impl RefUnwindSafe for RawSubscripts
impl Send for RawSubscripts
impl Sync for RawSubscripts
impl Unpin for RawSubscripts
impl UnwindSafe for RawSubscripts
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