pub struct PmmDisplayState {Show 13 fields
pub layout: &'static str,
pub model_slot_flags: Vec<u8>,
pub model_slot_flag_entries: Vec<PmmModelSlotFlagEntry>,
pub document_expand_flags: Option<PmmDocumentExpandFlags>,
pub selected_model_index: Option<u8>,
pub document_model_count: Option<u8>,
pub declared_model_slot_count: Option<u8>,
pub model_slot_count: usize,
pub non_zero_model_slot_count: usize,
pub accessory_slot_count: Option<u8>,
pub active_model_slot_indices: Vec<usize>,
pub empty_model_slot_indices: Vec<usize>,
pub model_slot_flag_counts: BTreeMap<u8, usize>,
}Fields§
§layout: &'static str§model_slot_flags: Vec<u8>§model_slot_flag_entries: Vec<PmmModelSlotFlagEntry>§document_expand_flags: Option<PmmDocumentExpandFlags>§selected_model_index: Option<u8>§document_model_count: Option<u8>§declared_model_slot_count: Option<u8>§model_slot_count: usize§non_zero_model_slot_count: usize§accessory_slot_count: Option<u8>§active_model_slot_indices: Vec<usize>§empty_model_slot_indices: Vec<usize>§model_slot_flag_counts: BTreeMap<u8, usize>Trait Implementations§
Source§impl Clone for PmmDisplayState
impl Clone for PmmDisplayState
Source§fn clone(&self) -> PmmDisplayState
fn clone(&self) -> PmmDisplayState
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 PmmDisplayState
impl Debug for PmmDisplayState
Auto Trait Implementations§
impl Freeze for PmmDisplayState
impl RefUnwindSafe for PmmDisplayState
impl Send for PmmDisplayState
impl Sync for PmmDisplayState
impl Unpin for PmmDisplayState
impl UnsafeUnpin for PmmDisplayState
impl UnwindSafe for PmmDisplayState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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