pub enum SsOrigin {
Center,
TopLeft,
}Expand description
Where the positions the runtime emits are measured from.
Variants§
Center
The canvas center. 0 in the C-API.
TopLeft
The canvas’s top-left corner: root parts are offset by half the canvas. 1
in the C-API.
Trait Implementations§
impl Copy for SsOrigin
impl Eq for SsOrigin
impl StructuralPartialEq for SsOrigin
Auto Trait Implementations§
impl Freeze for SsOrigin
impl RefUnwindSafe for SsOrigin
impl Send for SsOrigin
impl Sync for SsOrigin
impl Unpin for SsOrigin
impl UnsafeUnpin for SsOrigin
impl UnwindSafe for SsOrigin
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