Struct way_auto_layout::ColumnLayout [−][src]
pub struct ColumnLayout { /* fields omitted */ }
Expand description
A layout that splits all components between two columns.
The main column contains visual elements and the sidebar contains controls:
Implementations
Creates a new ColumnLayout
instance.
The instance is registered in the RillEngine
automatically.
Methods from Deref<Target = Tracer<ColumnLayoutState>>
Returns a builder to generate and register a callback.
pub fn callback_fn(
&self,
func: impl CallbackFn<CallbackEvent<<T as Flow>::Action>>
) -> CallbackGuard
pub fn callback_fn(
&self,
func: impl CallbackFn<CallbackEvent<<T as Flow>::Action>>
) -> CallbackGuard
Adds a funciton as a callback.
It isnt’ async
, because callback hooks use
the main async loop of the Recorder
that
shouldn’t be blocked.
The FlowDescription
of the tracer.
Returns a link to an assigned engine.
Methods from Deref<Target = FlowDescription>
Trait Implementations
The method that wraps BindControlEvent
with
Flow::Event
. Read more
Add a new bind to the layout. Read more
Sends BindControlEvent::RemoveBind
event to the state.
Auto Trait Implementations
impl !RefUnwindSafe for ColumnLayout
impl Send for ColumnLayout
impl Sync for ColumnLayout
impl Unpin for ColumnLayout
impl !UnwindSafe for ColumnLayout
Blanket Implementations
Mutably borrows from an owned value. Read more
Convert self
to an optional value of a Properties
struct.
Convert self
to a value of a Properties
struct.
Convert self
to a value of a Properties
struct.
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more