pub struct ColorDiagnostic;Expand description
Diagnose color issues in ASS scripts
Implementations§
Source§impl ColorDiagnostic
impl ColorDiagnostic
Sourcepub fn analyze_script(script: &Script<'_>) -> ColorReport
pub fn analyze_script(script: &Script<'_>) -> ColorReport
Analyze colors in a script and report potential issues
Sourcepub fn create_white_text_test() -> String
pub fn create_white_text_test() -> String
Create a test script with white text
Sourcepub fn create_color_reference_test() -> String
pub fn create_color_reference_test() -> String
Create a color reference test with multiple colors
Auto Trait Implementations§
impl Freeze for ColorDiagnostic
impl RefUnwindSafe for ColorDiagnostic
impl Send for ColorDiagnostic
impl Sync for ColorDiagnostic
impl Unpin for ColorDiagnostic
impl UnsafeUnpin for ColorDiagnostic
impl UnwindSafe for ColorDiagnostic
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> 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