[−][src]Struct orbtk_api::properties::Column
Used to define the column of the Grid
.
Fields
width: ColumnWidth
min_width: f64
max_width: f64
Implementations
impl Column
[src]
pub fn create() -> ColumnBuilder
[src]
Creates a new ColumnBuilder
object with default values.
pub fn width(&self) -> ColumnWidth
[src]
Gets the column width.
pub fn current_width(&self) -> f64
[src]
Gets the current width.
pub fn set_current_width(&mut self, width: f64)
[src]
Sets the current width.
Trait Implementations
impl Clone for Column
[src]
impl Copy for Column
[src]
impl Debug for Column
[src]
impl Default for Column
[src]
impl<'_> From<&'_ str> for Column
[src]
impl From<f64> for Column
[src]
impl From<i32> for Column
[src]
impl PartialEq<Column> for Column
[src]
impl StructuralPartialEq for Column
[src]
Auto Trait Implementations
impl RefUnwindSafe for Column
impl Send for Column
impl Sync for Column
impl Unpin for Column
impl UnwindSafe for Column
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<E> Component for E where
E: Any,
[src]
E: Any,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
T: Parameter<Self>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,