pub enum PythonPasteBox {
None,
Image(Box<Image>),
Values(Vec<i64>),
Invalid {
length: Option<usize>,
type_name: String,
},
}Expand description
Host-neutral box input for the Python Image.paste wrapper.
Variants§
None
No second argument was supplied.
Image(Box<Image>)
The abbreviated (image, mask) form.
Values(Vec<i64>)
A coordinate list/tuple.
Invalid
A value that could not be interpreted as a coordinate sequence.
Trait Implementations§
Source§impl Clone for PythonPasteBox
impl Clone for PythonPasteBox
Auto Trait Implementations§
impl !RefUnwindSafe for PythonPasteBox
impl !UnwindSafe for PythonPasteBox
impl Freeze for PythonPasteBox
impl Send for PythonPasteBox
impl Sync for PythonPasteBox
impl Unpin for PythonPasteBox
impl UnsafeUnpin for PythonPasteBox
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