pub struct Sgr {
pub params: Vec<Vec<u16>>,
}Expand description
Owned SGR parameters, with semicolon groups and colon subparameters.
A DECRPSS SGR reply carries this value in
SettingReport::Sgr.
Call style to interpret the parameters as a Style.
Fields§
§params: Vec<Vec<u16>>Semicolon-separated groups of colon-separated numeric values.
Decoded omitted slots become zero. An empty list means SGR reset.
write_sgr accepts borrowed slices of these groups.
Implementations§
Trait Implementations§
impl Eq for Sgr
impl StructuralPartialEq for Sgr
Auto Trait Implementations§
impl Freeze for Sgr
impl RefUnwindSafe for Sgr
impl Send for Sgr
impl Sync for Sgr
impl Unpin for Sgr
impl UnsafeUnpin for Sgr
impl UnwindSafe for Sgr
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