Struct glerminal::TermLimits
source · pub struct TermLimits { /* private fields */ }
Expand description
Represents the limits of the terminal.
Implementations§
source§impl TermLimits
impl TermLimits
sourcepub fn get_min_x(&self) -> u32
pub fn get_min_x(&self) -> u32
Represents the smallest x-coordinate you should be able to write to (e.g. 0).
sourcepub fn get_max_x(&self) -> u32
pub fn get_max_x(&self) -> u32
Represents the largest x-coordinate, where you should not be able to write anymore. (e.g. screen width)
Trait Implementations§
source§impl Clone for TermLimits
impl Clone for TermLimits
source§fn clone(&self) -> TermLimits
fn clone(&self) -> TermLimits
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more