pub struct SetHighlightOptsBuilder(/* private fields */);Implementations§
Source§impl SetHighlightOptsBuilder
impl SetHighlightOptsBuilder
pub fn altfont(&mut self, altfont: bool) -> &mut Self
pub fn background(&mut self, background: &str) -> &mut Self
pub fn bg_indexed(&mut self, bg_indexed: bool) -> &mut Self
pub fn blend(&mut self, blend: u8) -> &mut Self
pub fn bold(&mut self, bold: bool) -> &mut Self
pub fn cterm(&mut self, cterm: &str) -> &mut Self
pub fn ctermbg(&mut self, ctermbg: &str) -> &mut Self
pub fn ctermfg(&mut self, ctermfg: &str) -> &mut Self
pub fn builder(&mut self, builder: bool) -> &mut Self
pub fn fallback(&mut self, fallback: bool) -> &mut Self
pub fn fg_indexed(&mut self, fg_indexed: bool) -> &mut Self
pub fn force(&mut self, force: bool) -> &mut Self
pub fn foreground(&mut self, foreground: &str) -> &mut Self
pub fn italic(&mut self, italic: bool) -> &mut Self
pub fn link<Hl: HlGroup>(&mut self, link: Hl) -> &mut Self
pub fn nocombine(&mut self, nocombine: bool) -> &mut Self
pub fn reverse(&mut self, reverse: bool) -> &mut Self
pub fn special(&mut self, special: &str) -> &mut Self
pub fn standout(&mut self, standout: bool) -> &mut Self
pub fn strikethrough(&mut self, strikethrough: bool) -> &mut Self
pub fn undercurl(&mut self, undercurl: bool) -> &mut Self
pub fn underdashed(&mut self, underdashed: bool) -> &mut Self
pub fn underdotted(&mut self, underdotted: bool) -> &mut Self
pub fn underdouble(&mut self, underdouble: bool) -> &mut Self
pub fn underline(&mut self, underline: bool) -> &mut Self
pub fn build(&mut self) -> SetHighlightOpts
Trait Implementations§
Source§impl Clone for SetHighlightOptsBuilder
impl Clone for SetHighlightOptsBuilder
Auto Trait Implementations§
impl Freeze for SetHighlightOptsBuilder
impl RefUnwindSafe for SetHighlightOptsBuilder
impl !Send for SetHighlightOptsBuilder
impl !Sync for SetHighlightOptsBuilder
impl Unpin for SetHighlightOptsBuilder
impl UnwindSafe for SetHighlightOptsBuilder
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> IntoResult<T> for T
impl<T> IntoResult<T> for T
Source§type Error = Infallible
type Error = Infallible
The error type in the returned
Result.Source§fn into_result(self) -> Result<T, <T as IntoResult<T>>::Error>
fn into_result(self) -> Result<T, <T as IntoResult<T>>::Error>
Converts the value into a
Result.