#[non_exhaustive]pub struct LinetypeDef {
pub name: Name,
pub description: String,
pub dashes: Vec<Dash>,
pub total: f64,
}Expand description
a linetype of the table
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: Name§description: String§dashes: Vec<Dash>§total: f6440
Trait Implementations§
Source§impl Clone for LinetypeDef
impl Clone for LinetypeDef
Source§impl Debug for LinetypeDef
impl Debug for LinetypeDef
Source§impl Default for LinetypeDef
impl Default for LinetypeDef
Source§impl PartialEq for LinetypeDef
impl PartialEq for LinetypeDef
impl StructuralPartialEq for LinetypeDef
Auto Trait Implementations§
impl Forget for LinetypeDef
impl Freeze for LinetypeDef
impl Move for LinetypeDef
impl RefUnwindSafe for LinetypeDef
impl Send for LinetypeDefwhere
RawVecInner: Send,
impl Sync for LinetypeDefwhere
RawVecInner: Sync,
impl Unpin for LinetypeDef
impl UnsafeUnpin for LinetypeDefwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Dash>: UnsafeUnpin,
impl UnwindSafe for LinetypeDefwhere
RawVecInner: UnwindSafe,
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