Struct cvars_console::HistoryLine
source · pub struct HistoryLine {
pub text: String,
pub is_input: bool,
}Expand description
A line in the console’s history view.
Might have come from the user or is the result of running a command.
Fields§
§text: StringThe line’s text.
is_input: boolWhether the line is input from the user or output from running a command.
Implementations§
Trait Implementations§
source§impl Clone for HistoryLine
impl Clone for HistoryLine
source§fn clone(&self) -> HistoryLine
fn clone(&self) -> HistoryLine
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