pub enum Relative {
Front,
Back,
}
Expand description
Direction relative to an orientation.
Variants
Front
Front relative direction.
- Horizontally, this means
Left
- Vertically, this means
Up
Back
Back relative direction.
- Horizontally, this means
Right
- Vertically, this means
Down
.
Implementations
Trait Implementations
sourceimpl PartialEq<Relative> for Relative
impl PartialEq<Relative> for Relative
impl Copy for Relative
impl Eq for Relative
impl StructuralEq for Relative
impl StructuralPartialEq for Relative
Auto Trait Implementations
impl RefUnwindSafe for Relative
impl Send for Relative
impl Sync for Relative
impl Unpin for Relative
impl UnwindSafe for Relative
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