pub struct Language {
pub name: &'static str,
pub color: Rgb,
/* private fields */
}Expand description
A language diffler can name, with everything the breakdown needs about it.
Fields§
§name: &'static strDisplay label, spelled the way a repository page spells it.
color: RgbLinguist’s colour for the language, untouched.
Trait Implementations§
impl Copy for Language
impl Eq for Language
impl StructuralPartialEq for Language
Auto Trait Implementations§
impl Freeze for Language
impl RefUnwindSafe for Language
impl Send for Language
impl Sync for Language
impl Unpin for Language
impl UnsafeUnpin for Language
impl UnwindSafe for Language
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