pub enum SsUnit {
Pixel,
Normalized,
}Expand description
The unit of the part positions the runtime emits.
Variants§
Pixel
Pixels. 0 in the C-API.
Normalized
Each part’s position is divided by the canvas size. Sizes, local vertices and
UVs stay in pixels. 1 in the C-API.
Trait Implementations§
impl Copy for SsUnit
impl Eq for SsUnit
impl StructuralPartialEq for SsUnit
Auto Trait Implementations§
impl Freeze for SsUnit
impl RefUnwindSafe for SsUnit
impl Send for SsUnit
impl Sync for SsUnit
impl Unpin for SsUnit
impl UnsafeUnpin for SsUnit
impl UnwindSafe for SsUnit
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