[][src]Struct orbtk::layouts::Grid

pub struct Grid {
    pub rect: Cell<Rect>,
    // some fields omitted
}

Fields

rect: Cell<Rect>

Methods

impl Grid[src]

pub fn new() -> Arc<Self>[src]

pub fn columns(&self, columns: usize) -> &Self[src]

pub fn add<T: Widget>(&self, entry: &Arc<T>)[src]

pub fn insert<T: Widget>(&self, col: usize, row: usize, entry: &Arc<T>)[src]

pub fn clear(&self)[src]

pub fn remove(&self, col: usize, row: usize)[src]

pub fn spacing(&self, x: i32, y: i32) -> &Self[src]

pub fn arrange(&self, resize: bool)[src]

Trait Implementations

impl Place for Grid[src]

impl Widget for Grid[src]

Auto Trait Implementations

impl !RefUnwindSafe for Grid

impl !Send for Grid

impl !Sync for Grid

impl Unpin for Grid

impl !UnwindSafe for Grid

Blanket Implementations

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

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

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

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

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

impl<T> SetParameter for T

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.