pub enum File {
A,
B,
C,
D,
E,
F,
G,
H,
}
Expand description
Describe a file (column) on a chess board
Variants
A
B
C
D
E
F
G
H
Implementations
Trait Implementations
sourceimpl PartialOrd<File> for File
impl PartialOrd<File> for File
sourcefn partial_cmp(&self, other: &File) -> Option<Ordering>
fn partial_cmp(&self, other: &File) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for File
impl StructuralPartialEq for File
Auto Trait Implementations
impl RefUnwindSafe for File
impl Send for File
impl Sync for File
impl Unpin for File
impl UnwindSafe for File
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more