pub enum PythonOpenModeInput {
None,
Name(String),
Invalid(String),
}Expand description
Host-neutral mode input for the Python Image.open wrapper.
Variants§
None
No mode override was supplied.
Name(String)
A mode value extracted from the host.
Invalid(String)
A non-string host value.
Trait Implementations§
Source§impl Clone for PythonOpenModeInput
impl Clone for PythonOpenModeInput
Auto Trait Implementations§
impl Freeze for PythonOpenModeInput
impl RefUnwindSafe for PythonOpenModeInput
impl Send for PythonOpenModeInput
impl Sync for PythonOpenModeInput
impl Unpin for PythonOpenModeInput
impl UnsafeUnpin for PythonOpenModeInput
impl UnwindSafe for PythonOpenModeInput
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