Enum nvim_oxi_api::types::WindowTitle
source · pub enum WindowTitle {
SimpleString(String),
ListOfText(Vec<(String, TitleHighlight)>),
}Variants§
Trait Implementations§
source§impl Clone for WindowTitle
impl Clone for WindowTitle
source§fn clone(&self) -> WindowTitle
fn clone(&self) -> WindowTitle
Returns a copy 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<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::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) -> Self
fn from(title: &WindowTitle) -> Self
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
source§fn eq(&self, other: &WindowTitle) -> bool
fn eq(&self, other: &WindowTitle) -> bool
This method tests for
self and other values to be equal, and is used
by ==.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> IntoResult<T> for T
impl<T> IntoResult<T> for T
§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.