Struct rustty_oxide::core::frame::Frame [] [src]

pub struct Frame { /* fields omitted */ }

The Frame struct is the building block for all future widgets inside of Oxide. Objects of Frame abstract away the actual creation and drawing of areas of a terminal, because this process is the same for all widgets. Every widget should contain one Frame type to be used to render text to the screen

Methods

impl Frame
[src]

[src]

Constructs a new Frame object with a width of cols and height of rows

[src]

Draw the buffer contained inside of the base object to a valid object that implements CellAccessor.

[src]

Trait Implementations

impl HasSize for Frame
[src]

[src]

impl CellAccessor for Frame
[src]

[src]

[src]

[src]

Clears self, using the given Cell as a blank.

[src]

[src]

Returns a reference to the Cell at the given coordinates, or None if the index is out of bounds. Read more

[src]

Returns a mutable reference to the Cell at the given coordinates, or None if the index is out of bounds. Read more

impl HasPosition for Frame
[src]

[src]

[src]

impl Alignable for Frame
[src]

[src]

[src]

[src]