Enum fontdue::layout::CoordinateSystem
source · pub enum CoordinateSystem {
PositiveYUp,
PositiveYDown,
}
Expand description
The direction that the Y coordinate increases in. Layout needs to be aware of your coordinate system to place the glyphs correctly.
Variants§
PositiveYUp
The Y coordinate increases up relative to the window or image. The higher up on the window, the more positive Y becomes.
PositiveYDown
The Y coordinate increases down relative to the window or image. The lower down on the window, the more positive Y becomes.
Trait Implementations§
source§impl Clone for CoordinateSystem
impl Clone for CoordinateSystem
source§fn clone(&self) -> CoordinateSystem
fn clone(&self) -> CoordinateSystem
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl PartialEq for CoordinateSystem
impl PartialEq for CoordinateSystem
source§fn eq(&self, other: &CoordinateSystem) -> bool
fn eq(&self, other: &CoordinateSystem) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CoordinateSystem
impl StructuralPartialEq for CoordinateSystem
Auto Trait Implementations§
impl RefUnwindSafe for CoordinateSystem
impl Send for CoordinateSystem
impl Sync for CoordinateSystem
impl Unpin for CoordinateSystem
impl UnwindSafe for CoordinateSystem
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