pub struct ObjectIndex {
pub index: u16,
pub subindex: u8,
}Expand description
An index in the object dictionary.
Fields§
§index: u16The main index of the object.
subindex: u8The subindex of the object.
Implementations§
Trait Implementations§
Source§impl Clone for ObjectIndex
impl Clone for ObjectIndex
Source§fn clone(&self) -> ObjectIndex
fn clone(&self) -> ObjectIndex
Returns a duplicate 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 ObjectIndex
impl Debug for ObjectIndex
Source§impl Hash for ObjectIndex
impl Hash for ObjectIndex
Source§impl Ord for ObjectIndex
impl Ord for ObjectIndex
Source§fn cmp(&self, other: &ObjectIndex) -> Ordering
fn cmp(&self, other: &ObjectIndex) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ObjectIndex
impl PartialEq for ObjectIndex
Source§impl PartialOrd for ObjectIndex
impl PartialOrd for ObjectIndex
impl Copy for ObjectIndex
impl Eq for ObjectIndex
impl StructuralPartialEq for ObjectIndex
Auto Trait Implementations§
impl Freeze for ObjectIndex
impl RefUnwindSafe for ObjectIndex
impl Send for ObjectIndex
impl Sync for ObjectIndex
impl Unpin for ObjectIndex
impl UnwindSafe for ObjectIndex
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