pub enum SsCoordinateSystem {
YUp,
YDown,
}Expand description
The Y direction of what the runtime emits.
Variants§
YUp
Y grows upward, as SpriteStudio authors it. 0 in the C-API.
YDown
Y grows downward: Y coordinates and rotation are flipped. 1 in the C-API.
Trait Implementations§
Source§impl Clone for SsCoordinateSystem
impl Clone for SsCoordinateSystem
impl Copy for SsCoordinateSystem
Source§impl Debug for SsCoordinateSystem
impl Debug for SsCoordinateSystem
Source§impl Default for SsCoordinateSystem
impl Default for SsCoordinateSystem
impl Eq for SsCoordinateSystem
Source§impl From<SsCoordinateSystem> for WebCoordinateSystem
impl From<SsCoordinateSystem> for WebCoordinateSystem
Source§fn from(cs: SsCoordinateSystem) -> Self
fn from(cs: SsCoordinateSystem) -> Self
Converts to this type from the input type.
Source§impl From<WebCoordinateSystem> for SsCoordinateSystem
impl From<WebCoordinateSystem> for SsCoordinateSystem
Source§fn from(cs: WebCoordinateSystem) -> Self
fn from(cs: WebCoordinateSystem) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SsCoordinateSystem
impl PartialEq for SsCoordinateSystem
impl StructuralPartialEq for SsCoordinateSystem
Auto Trait Implementations§
impl Freeze for SsCoordinateSystem
impl RefUnwindSafe for SsCoordinateSystem
impl Send for SsCoordinateSystem
impl Sync for SsCoordinateSystem
impl Unpin for SsCoordinateSystem
impl UnsafeUnpin for SsCoordinateSystem
impl UnwindSafe for SsCoordinateSystem
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