#[non_exhaustive]pub struct ThemeResolution {
pub theme_name: String,
pub source: PathBuf,
pub chain: Vec<String>,
}Expand description
Where a cursor name resolved to.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.theme_name: StringThe theme the cursor was actually found in, which may not be the one
asked for – the Inherits= chain or the fallback may have supplied it.
source: PathBufThe cursor file on disk.
chain: Vec<String>Every theme considered, in order. For diagnostics: it answers “why did I get this one” without re-running the walk.
Trait Implementations§
Source§impl Clone for ThemeResolution
impl Clone for ThemeResolution
Source§impl Debug for ThemeResolution
impl Debug for ThemeResolution
impl Eq for ThemeResolution
Source§impl PartialEq for ThemeResolution
impl PartialEq for ThemeResolution
impl StructuralPartialEq for ThemeResolution
Auto Trait Implementations§
impl Freeze for ThemeResolution
impl RefUnwindSafe for ThemeResolution
impl Send for ThemeResolution
impl Sync for ThemeResolution
impl Unpin for ThemeResolution
impl UnsafeUnpin for ThemeResolution
impl UnwindSafe for ThemeResolution
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