Struct bracket_terminal::rex::XpLayer [−][src]
Expand description
Structure representing a layer Cells are in the same order as in the file, in column-major order (index of position x,y is y*height + x).
Fields
width: usizeWidth of layer (in cells)
height: usizeHeight of layer (in cells)
cells: Vec<XpCell>Content of layer
Implementations
Construct a new XpLayer of width by height. The contents will be empty (black foreground and background, character 0).
Get the cell at coordinates (x,y), or None if it is out of range.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for XpLayerimpl UnwindSafe for XpLayerBlanket Implementations
Mutably borrows from an owned value. Read more