pub struct AssignmentIndex {
pub ty: AssignmentType,
pub pos: u16,
}
Fields§
§ty: AssignmentType
§pos: u16
Implementations§
Source§impl AssignmentIndex
impl AssignmentIndex
pub fn new(ty: AssignmentType, pos: u16) -> AssignmentIndex
Trait Implementations§
Source§impl Clone for AssignmentIndex
impl Clone for AssignmentIndex
Source§fn clone(&self) -> AssignmentIndex
fn clone(&self) -> AssignmentIndex
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 AssignmentIndex
impl Debug for AssignmentIndex
Source§impl Hash for AssignmentIndex
impl Hash for AssignmentIndex
Source§impl Ord for AssignmentIndex
impl Ord for AssignmentIndex
Source§fn cmp(&self, other: &AssignmentIndex) -> Ordering
fn cmp(&self, other: &AssignmentIndex) -> 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 AssignmentIndex
impl PartialEq for AssignmentIndex
Source§impl PartialOrd for AssignmentIndex
impl PartialOrd for AssignmentIndex
Source§impl StrictDecode for AssignmentIndex
impl StrictDecode for AssignmentIndex
fn strict_decode( reader: &mut impl TypedRead, ) -> Result<AssignmentIndex, DecodeError>
fn strict_read(reader: impl ReadRaw) -> Result<Self, DecodeError>
Source§impl StrictDumb for AssignmentIndex
impl StrictDumb for AssignmentIndex
fn strict_dumb() -> AssignmentIndex
Source§impl StrictEncode for AssignmentIndex
impl StrictEncode for AssignmentIndex
fn strict_encode<W>(&self, writer: W) -> Result<W, Error>where
W: TypedWrite,
fn strict_write(&self, writer: impl WriteRaw) -> Result<(), Error>
Source§impl StrictStruct for AssignmentIndex
impl StrictStruct for AssignmentIndex
const ALL_FIELDS: &'static [&'static str]
fn strict_check_fields()
fn strict_type_info() -> TypeInfo<Self>
Source§impl StrictType for AssignmentIndex
impl StrictType for AssignmentIndex
const STRICT_LIB_NAME: &'static str = LIB_NAME_RGB_COMMIT
fn strict_name() -> Option<TypeName>
impl Copy for AssignmentIndex
impl Eq for AssignmentIndex
impl StrictProduct for AssignmentIndex
impl StructuralPartialEq for AssignmentIndex
Auto Trait Implementations§
impl Freeze for AssignmentIndex
impl RefUnwindSafe for AssignmentIndex
impl Send for AssignmentIndex
impl Sync for AssignmentIndex
impl Unpin for AssignmentIndex
impl UnwindSafe for AssignmentIndex
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.