pub enum WindowTitle {
SimpleString(String),
ListOfText(Vec<(String, Option<String>)>),
}Variants§
SimpleString(String)
ListOfText(Vec<(String, Option<String>)>)
A list of (text, highlight) tuples, where the highlight is
optional.
Trait Implementations§
Source§impl Clone for WindowTitle
impl Clone for WindowTitle
Source§fn clone(&self) -> WindowTitle
fn clone(&self) -> WindowTitle
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 Debug for WindowTitle
impl Debug for WindowTitle
Source§impl<'de> Deserialize<'de> for WindowTitle
impl<'de> Deserialize<'de> for WindowTitle
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<WindowTitle, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<WindowTitle, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&WindowTitle> for Object
impl From<&WindowTitle> for Object
Source§fn from(title: &WindowTitle) -> Object
fn from(title: &WindowTitle) -> Object
Converts to this type from the input type.
Source§impl Hash for WindowTitle
impl Hash for WindowTitle
Source§impl PartialEq for WindowTitle
impl PartialEq for WindowTitle
impl Eq for WindowTitle
impl StructuralPartialEq for WindowTitle
Auto Trait Implementations§
impl Freeze for WindowTitle
impl RefUnwindSafe for WindowTitle
impl !Send for WindowTitle
impl !Sync for WindowTitle
impl Unpin for WindowTitle
impl UnwindSafe for WindowTitle
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.