FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    CellColumnFactory

    struct · ferroui-controls-treedatagrid · v0.5.0

    struct CellColumnFactory
    

    Creates the view columns of the columns of a presentation (CellColumnFactory<TModel>).

    View source

    Members

    new

    fn new(options: Rc<TreeDataGridPresentationOptions>) -> Self
    

    Source

    options

    fn options(self: &Self) -> &Rc<TreeDataGridPresentationOptions>
    

    The options whose factories the factory uses.

    Source

    create

    fn create(self: &Self, column: &Rc<dyn CoreColumn>) -> Result<ColumnRef, String>
    

    The view column of column; an error (the reference's InvalidOperationException) when the column has a presentation key with no registered presentation.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ClassDefaults
    • ErasedDestructor
    • IntoEither

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.