pub enum PythonOpenFormatsInput {
None,
Names(Vec<String>),
Invalid(String),
}Expand description
Host-neutral format allow-list input for the Python Image.open wrapper.
Variants§
None
No format allow-list was supplied.
Names(Vec<String>)
A list or tuple of format names.
Invalid(String)
A value that is not a list or tuple.
Trait Implementations§
Source§impl Clone for PythonOpenFormatsInput
impl Clone for PythonOpenFormatsInput
Auto Trait Implementations§
impl Freeze for PythonOpenFormatsInput
impl RefUnwindSafe for PythonOpenFormatsInput
impl Send for PythonOpenFormatsInput
impl Sync for PythonOpenFormatsInput
impl Unpin for PythonOpenFormatsInput
impl UnsafeUnpin for PythonOpenFormatsInput
impl UnwindSafe for PythonOpenFormatsInput
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