pub struct Session<'a> {
pub name: &'a str,
pub palette: &'a Palette,
pub capabilities: &'a Capabilities,
}Available on crate feature
cli only.Expand description
What stays the same for the whole session.
Fields§
§name: &'a strThe file name, or stdin, for the status bar.
palette: &'a Palette§capabilities: &'a CapabilitiesAuto Trait Implementations§
impl<'a> Forget for Session<'a>
impl<'a> Freeze for Session<'a>
impl<'a> Move for Session<'a>
impl<'a> RefUnwindSafe for Session<'a>
impl<'a> Send for Session<'a>
impl<'a> Sync for Session<'a>
impl<'a> Unpin for Session<'a>
impl<'a> UnsafeUnpin for Session<'a>
impl<'a> UnwindSafe for Session<'a>
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