pub struct BinaryArgs<A, B = A> {
pub lhs: A,
pub rhs: B,
}
Fields§
§lhs: A
§rhs: B
Implementations§
Source§impl<A, B> BinaryArgs<A, B>
impl<A, B> BinaryArgs<A, B>
Source§impl<T> BinaryArgs<T, T>
impl<T> BinaryArgs<T, T>
Trait Implementations§
Source§impl<A, B> BinaryParams for BinaryArgs<A, B>
impl<A, B> BinaryParams for BinaryArgs<A, B>
Source§impl<A, B> From<&BinaryArgs<A, B>> for (A, B)
impl<A, B> From<&BinaryArgs<A, B>> for (A, B)
Source§fn from(args: &BinaryArgs<A, B>) -> Self
fn from(args: &BinaryArgs<A, B>) -> Self
Converts to this type from the input type.
Source§impl<A, B> From<BinaryArgs<A, B>> for (A, B)
impl<A, B> From<BinaryArgs<A, B>> for (A, B)
Source§fn from(args: BinaryArgs<A, B>) -> Self
fn from(args: BinaryArgs<A, B>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<A, B> Freeze for BinaryArgs<A, B>
impl<A, B> RefUnwindSafe for BinaryArgs<A, B>where
A: RefUnwindSafe,
B: RefUnwindSafe,
impl<A, B> Send for BinaryArgs<A, B>
impl<A, B> Sync for BinaryArgs<A, B>
impl<A, B> Unpin for BinaryArgs<A, B>
impl<A, B> UnwindSafe for BinaryArgs<A, B>where
A: UnwindSafe,
B: 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