pub enum Fit {
Reshape,
Plane,
}Expand description
How the rotated grid fits the canvas.
Variants§
Reshape
Upstream behavior: scipy reshape=True/False, zero-filled borders.
Plane
Fixed canvas rotating about the center; out-of-plane cells become gaps. Used for interactive client-side rotation and WYSIWYG export.
Trait Implementations§
impl Copy for Fit
Source§impl<'de> Deserialize<'de> for Fit
impl<'de> Deserialize<'de> for Fit
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Fit
impl StructuralPartialEq for Fit
Auto Trait Implementations§
impl Freeze for Fit
impl RefUnwindSafe for Fit
impl Send for Fit
impl Sync for Fit
impl Unpin for Fit
impl UnsafeUnpin for Fit
impl UnwindSafe for Fit
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