Struct rui::Padding

source · []
pub struct Padding<V> { /* private fields */ }
Expand description

Struct for the padding modifier.

Implementations

Trait Implementations

Prints a description of the view for debugging.

Processes an event.

Draws the view using vger.

Lays out subviews and return the size of the view.

Determines dirty regions which need repainting.

Returns the topmost view which the point intersects.

Accumulates information about menu bar commands.

Gets IDs for state currently in use.

Builds an AccessKit tree. The node ID for the subtree is returned. All generated nodes are accumulated.

For detecting flexible sized things in stacks.

Returns the type ID of the underlying view.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.