pub struct HistStack {
pub histactive: u32,
pub histdone: i32,
pub stophist: i32,
pub chline: Option<String>,
pub hptr: usize,
pub chwords: Vec<(usize, usize)>,
pub hlinesz: usize,
pub defev: i64,
pub hist_keep_comment: bool,
}Expand description
Save history context (from hist.c hist_context_save/restore)
Fields§
§histactive: u32§histdone: i32§stophist: i32§chline: Option<String>§hptr: usize§chwords: Vec<(usize, usize)>§hlinesz: usize§defev: i64§hist_keep_comment: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for HistStack
impl RefUnwindSafe for HistStack
impl Send for HistStack
impl Sync for HistStack
impl Unpin for HistStack
impl UnsafeUnpin for HistStack
impl UnwindSafe for HistStack
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more