Struct theme2::StatusColors
source · pub struct StatusColors {}
Fields§
§conflict: Hsla
Indicates some kind of conflict, like a file changed on disk while it was open, or merge conflicts in a Git repository.
created: Hsla
Indicates something new, like a new file added to a Git repository.
deleted: Hsla
Indicates that something no longer exists, like a deleted file.
error: Hsla
Indicates a system error, a failed operation or a diagnostic error.
Represents a hidden status, such as a file being hidden in a file tree.
hint: Hsla
Indicates a hint or some kind of additional information.
ignored: Hsla
Indicates that something is deliberately ignored, such as a file or operation ignored by Git.
info: Hsla
Represents informational status updates or messages.
modified: Hsla
Indicates a changed or altered status, like a file that has been edited.
predictive: Hsla
Indicates something that is predicted, like automatic code completion, or generated code.
renamed: Hsla
Represents a renamed status, such as a file that has been renamed.
success: Hsla
Indicates a successful operation or task completion.
unreachable: Hsla
Indicates some kind of unreachable status, like a block of code that can never be reached.
warning: Hsla
Represents a warning status, like an operation that is about to fail.
Implementations§
source§impl StatusColors
impl StatusColors
pub fn dark() -> Self
pub fn light() -> Self
pub fn diagnostic(&self) -> DiagnosticColors
pub fn git(&self) -> GitStatusColors
Trait Implementations§
source§impl Clone for StatusColors
impl Clone for StatusColors
source§fn clone(&self) -> StatusColors
fn clone(&self) -> StatusColors
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more