pub struct ListItemDef {
pub id: DefinitionId,
pub origin: DefinitionId,
pub ordinal: i32,
pub name: NameId,
}Expand description
A single list item definition.
Fields§
§id: DefinitionId§origin: DefinitionId§ordinal: i32§name: NameIdTrait Implementations§
Source§impl Clone for ListItemDef
impl Clone for ListItemDef
Source§fn clone(&self) -> ListItemDef
fn clone(&self) -> ListItemDef
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 moreimpl Copy for ListItemDef
Source§impl Debug for ListItemDef
impl Debug for ListItemDef
impl Eq for ListItemDef
Source§impl PartialEq for ListItemDef
impl PartialEq for ListItemDef
Source§fn eq(&self, other: &ListItemDef) -> bool
fn eq(&self, other: &ListItemDef) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ListItemDef
Auto Trait Implementations§
impl Freeze for ListItemDef
impl RefUnwindSafe for ListItemDef
impl Send for ListItemDef
impl Sync for ListItemDef
impl Unpin for ListItemDef
impl UnsafeUnpin for ListItemDef
impl UnwindSafe for ListItemDef
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