#[repr(C)]pub struct BasketData {
pub strike: u32,
pub pc: u32,
pub amount: i32,
}Fields§
§strike: u32§pc: u32§amount: i32Trait Implementations§
source§impl Clone for BasketData
impl Clone for BasketData
source§fn clone(&self) -> BasketData
fn clone(&self) -> BasketData
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for BasketData
impl Debug for BasketData
source§impl PartialEq for BasketData
impl PartialEq for BasketData
source§fn eq(&self, other: &BasketData) -> bool
fn eq(&self, other: &BasketData) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for BasketData
impl PartialOrd for BasketData
source§fn partial_cmp(&self, other: &BasketData) -> Option<Ordering>
fn partial_cmp(&self, other: &BasketData) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for BasketData
impl StructuralPartialEq for BasketData
Auto Trait Implementations§
impl Freeze for BasketData
impl RefUnwindSafe for BasketData
impl Send for BasketData
impl Sync for BasketData
impl Unpin for BasketData
impl UnwindSafe for BasketData
Blanket Implementations§
source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more