pub struct ComponentData {
pub id: usize,
pub component_type: FixmlComponentAttributes,
pub layout_items: Vec<LayoutItemData>,
pub category_name: String,
pub name: String,
pub abbr_name: Option<String>,
}Fields§
§id: usizePrimary key. The unique integer identifier of this component type.
component_type: FixmlComponentAttributes§layout_items: Vec<LayoutItemData>§category_name: String§name: StringThe human readable name of the component.
abbr_name: Option<String>The name for this component when used in an XML context.
Trait Implementations§
Source§impl Clone for ComponentData
impl Clone for ComponentData
Source§fn clone(&self) -> ComponentData
fn clone(&self) -> ComponentData
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 moreAuto Trait Implementations§
impl Freeze for ComponentData
impl RefUnwindSafe for ComponentData
impl Send for ComponentData
impl Sync for ComponentData
impl Unpin for ComponentData
impl UnwindSafe for ComponentData
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