[][src]Struct orbtk::prelude::api::Column

pub struct Column {
    pub width: ColumnWidth,
    pub min_width: f64,
    pub max_width: f64,
    // some fields omitted
}

Used to define the column of the Grid.

Fields

width: ColumnWidthmin_width: f64max_width: f64

Methods

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 Debug for Column[src]

impl PartialEq<Column> for Column[src]

impl Default for Column[src]

impl From<f64> for Column[src]

impl<'_> From<&'_ str> for Column[src]

impl StructuralPartialEq for Column[src]

impl Clone for Column[src]

impl Copy for Column[src]

Auto Trait Implementations

impl Send for Column

impl Sync for Column

impl Unpin for Column

impl UnwindSafe for Column

impl RefUnwindSafe for Column

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<E> Component for E where
    E: Any
[src]

impl<T> SetParameter for T