#[non_exhaustive]pub struct ExtInverse {
pub op: Cow<'static, str>,
pub output: u8,
pub args: Vec<InverseArg>,
}Expand description
The operation that undoes an output of another in one argument (see ExtOp::inverse).
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.op: Cow<'static, str>The operation’s name, in the same registry.
output: u8Its output that gives the argument back.
args: Vec<InverseArg>Its arguments, in order.
Implementations§
Source§impl ExtInverse
impl ExtInverse
Sourcepub fn new(op: &'static str, output: u8, args: &[InverseArg]) -> ExtInverse
pub fn new(op: &'static str, output: u8, args: &[InverseArg]) -> ExtInverse
Output output of op over args gives the argument back.
Trait Implementations§
Source§impl Clone for ExtInverse
impl Clone for ExtInverse
Source§impl Debug for ExtInverse
impl Debug for ExtInverse
impl Eq for ExtInverse
Source§impl PartialEq for ExtInverse
impl PartialEq for ExtInverse
impl StructuralPartialEq for ExtInverse
Auto Trait Implementations§
impl Freeze for ExtInverse
impl RefUnwindSafe for ExtInverse
impl Send for ExtInverse
impl Sync for ExtInverse
impl Unpin for ExtInverse
impl UnsafeUnpin for ExtInverse
impl UnwindSafe for ExtInverse
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