pub struct SetHighlightOptsBuilder(/* private fields */);Implementations§
Source§impl SetHighlightOptsBuilder
impl SetHighlightOptsBuilder
pub fn altfont(&mut self, altfont: bool) -> &mut SetHighlightOptsBuilder
pub fn background(&mut self, background: &str) -> &mut SetHighlightOptsBuilder
pub fn bg_indexed(&mut self, bg_indexed: bool) -> &mut SetHighlightOptsBuilder
pub fn blend(&mut self, blend: u8) -> &mut SetHighlightOptsBuilder
pub fn bold(&mut self, bold: bool) -> &mut SetHighlightOptsBuilder
pub fn cterm(&mut self, cterm: &str) -> &mut SetHighlightOptsBuilder
pub fn ctermbg(&mut self, ctermbg: &str) -> &mut SetHighlightOptsBuilder
pub fn ctermfg(&mut self, ctermfg: &str) -> &mut SetHighlightOptsBuilder
pub fn builder(&mut self, builder: bool) -> &mut SetHighlightOptsBuilder
pub fn fallback(&mut self, fallback: bool) -> &mut SetHighlightOptsBuilder
pub fn fg_indexed(&mut self, fg_indexed: bool) -> &mut SetHighlightOptsBuilder
pub fn force(&mut self, force: bool) -> &mut SetHighlightOptsBuilder
pub fn foreground(&mut self, foreground: &str) -> &mut SetHighlightOptsBuilder
pub fn italic(&mut self, italic: bool) -> &mut SetHighlightOptsBuilder
pub fn link<Hl>(&mut self, link: Hl) -> &mut SetHighlightOptsBuilderwhere
Hl: HlGroup,
pub fn nocombine(&mut self, nocombine: bool) -> &mut SetHighlightOptsBuilder
pub fn reverse(&mut self, reverse: bool) -> &mut SetHighlightOptsBuilder
pub fn special(&mut self, special: &str) -> &mut SetHighlightOptsBuilder
pub fn standout(&mut self, standout: bool) -> &mut SetHighlightOptsBuilder
pub fn strikethrough( &mut self, strikethrough: bool, ) -> &mut SetHighlightOptsBuilder
pub fn undercurl(&mut self, undercurl: bool) -> &mut SetHighlightOptsBuilder
pub fn underdashed(&mut self, underdashed: bool) -> &mut SetHighlightOptsBuilder
pub fn underdotted(&mut self, underdotted: bool) -> &mut SetHighlightOptsBuilder
pub fn underdouble(&mut self, underdouble: bool) -> &mut SetHighlightOptsBuilder
pub fn underline(&mut self, underline: bool) -> &mut SetHighlightOptsBuilder
pub fn build(&mut self) -> SetHighlightOpts
Trait Implementations§
Source§impl Clone for SetHighlightOptsBuilder
impl Clone for SetHighlightOptsBuilder
Source§fn clone(&self) -> SetHighlightOptsBuilder
fn clone(&self) -> SetHighlightOptsBuilder
Returns a duplicate 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 moreSource§impl Default for SetHighlightOptsBuilder
impl Default for SetHighlightOptsBuilder
Source§fn default() -> SetHighlightOptsBuilder
fn default() -> SetHighlightOptsBuilder
Returns the “default value” for a type. Read more
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> 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 moreSource§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.