Struct SetHighlightOpts
#[repr(C)]pub struct SetHighlightOpts {Show 31 fields
mask: u64,
bold: bool,
standout: bool,
strikethrough: bool,
underline: bool,
undercurl: bool,
underdouble: bool,
underdotted: bool,
underdashed: bool,
italic: bool,
reverse: bool,
altfont: bool,
nocombine: bool,
default: bool,
cterm: Object,
foreground: Object,
fg: Object,
background: Object,
bg: Object,
ctermfg: Object,
ctermbg: Object,
special: Object,
sp: Object,
link: i64,
global_link: i64,
fallback: bool,
blend: i64,
fg_indexed: bool,
bg_indexed: bool,
force: bool,
url: String,
}Fields§
§mask: u64§bold: bool§standout: bool§strikethrough: bool§underline: bool§undercurl: bool§underdouble: bool§underdotted: bool§underdashed: bool§italic: bool§reverse: bool§altfont: bool§nocombine: bool§default: bool§cterm: Object§foreground: Object§fg: Object§background: Object§bg: Object§ctermfg: Object§ctermbg: Object§special: Object§sp: Object§link: i64§global_link: i64§fallback: bool§blend: i64§fg_indexed: bool§bg_indexed: bool§force: bool§url: StringImplementations§
§impl SetHighlightOpts
impl SetHighlightOpts
pub fn builder() -> SetHighlightOptsBuilder
pub fn builder() -> SetHighlightOptsBuilder
Creates a new SetHighlightOptsBuilder.
Trait Implementations§
§impl Clone for SetHighlightOpts
impl Clone for SetHighlightOpts
§fn clone(&self) -> SetHighlightOpts
fn clone(&self) -> SetHighlightOpts
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 more§impl Debug for SetHighlightOpts
impl Debug for SetHighlightOpts
§impl Default for SetHighlightOpts
impl Default for SetHighlightOpts
§fn default() -> SetHighlightOpts
fn default() -> SetHighlightOpts
Returns the “default value” for a type. Read more
§impl PartialEq for SetHighlightOpts
impl PartialEq for SetHighlightOpts
impl StructuralPartialEq for SetHighlightOpts
Auto Trait Implementations§
impl Freeze for SetHighlightOpts
impl RefUnwindSafe for SetHighlightOpts
impl !Send for SetHighlightOpts
impl !Sync for SetHighlightOpts
impl Unpin for SetHighlightOpts
impl UnsafeUnpin for SetHighlightOpts
impl UnwindSafe for SetHighlightOpts
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 more§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
§type Error = Infallible
type Error = Infallible
The error type in the returned
Result.§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.