pub struct TrayResult {
pub tray_name: String,
pub slots: Vec<SlotResult>,
pub integer_sum: Option<i64>,
}Expand description
Snapshot result for a tray.
Fields§
§tray_name: StringTray name.
slots: Vec<SlotResult>Current slot snapshots in tray order.
integer_sum: Option<i64>Sum of current integer slot values when any are present.
Text faces and empty slots are excluded. This is None when the tray has
no current integer values.
Trait Implementations§
Source§impl Clone for TrayResult
impl Clone for TrayResult
Source§fn clone(&self) -> TrayResult
fn clone(&self) -> TrayResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TrayResult
impl Debug for TrayResult
Source§impl PartialEq for TrayResult
impl PartialEq for TrayResult
Source§fn eq(&self, other: &TrayResult) -> bool
fn eq(&self, other: &TrayResult) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TrayResult
Auto Trait Implementations§
impl Freeze for TrayResult
impl RefUnwindSafe for TrayResult
impl Send for TrayResult
impl Sync for TrayResult
impl Unpin for TrayResult
impl UnsafeUnpin for TrayResult
impl UnwindSafe for TrayResult
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