pub struct SpinColumnConfig {
pub label: String,
pub model_column: usize,
pub width: i32,
pub align: DataViewAlign,
pub min: i32,
pub max: i32,
pub inc: i32,
pub flags: DataViewColumnFlags,
}Expand description
Configuration for appending a spin column
Fields§
§label: String§model_column: usize§width: i32§align: DataViewAlign§min: i32§max: i32§inc: i32§flags: DataViewColumnFlagsImplementations§
Source§impl SpinColumnConfig
impl SpinColumnConfig
pub fn new(label: &str, model_column: usize, min: i32, max: i32) -> Self
pub fn with_width(self, width: i32) -> Self
pub fn with_align(self, align: DataViewAlign) -> Self
pub fn with_inc(self, inc: i32) -> Self
pub fn with_flags(self, flags: DataViewColumnFlags) -> Self
Trait Implementations§
Source§impl Clone for SpinColumnConfig
impl Clone for SpinColumnConfig
Source§fn clone(&self) -> SpinColumnConfig
fn clone(&self) -> SpinColumnConfig
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 moreAuto Trait Implementations§
impl Freeze for SpinColumnConfig
impl RefUnwindSafe for SpinColumnConfig
impl Send for SpinColumnConfig
impl Sync for SpinColumnConfig
impl Unpin for SpinColumnConfig
impl UnsafeUnpin for SpinColumnConfig
impl UnwindSafe for SpinColumnConfig
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