Enum rustpython_vm::function::ArgByteOrder
source · pub enum ArgByteOrder {
Big,
Little,
}
Variants§
Trait Implementations§
source§impl Clone for ArgByteOrder
impl Clone for ArgByteOrder
source§fn clone(&self) -> ArgByteOrder
fn clone(&self) -> ArgByteOrder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl PartialEq<ArgByteOrder> for ArgByteOrder
impl PartialEq<ArgByteOrder> for ArgByteOrder
source§fn eq(&self, other: &ArgByteOrder) -> bool
fn eq(&self, other: &ArgByteOrder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'a> TryFromBorrowedObject<'a> for ArgByteOrder
impl<'a> TryFromBorrowedObject<'a> for ArgByteOrder
source§fn try_from_borrowed_object(
vm: &VirtualMachine,
obj: &'a PyObject
) -> PyResult<Self>
fn try_from_borrowed_object( vm: &VirtualMachine, obj: &'a PyObject ) -> PyResult<Self>
Attempt to convert a Python object to a value of this type.
impl Copy for ArgByteOrder
impl Eq for ArgByteOrder
impl StructuralEq for ArgByteOrder
impl StructuralPartialEq for ArgByteOrder
Auto Trait Implementations§
impl RefUnwindSafe for ArgByteOrder
impl Send for ArgByteOrder
impl Sync for ArgByteOrder
impl Unpin for ArgByteOrder
impl UnwindSafe for ArgByteOrder
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<T, U> ExactFrom<T> for Uwhere
U: TryFrom<T>,
impl<T, U> ExactFrom<T> for Uwhere U: TryFrom<T>,
fn exact_from(value: T) -> U
§impl<T, U> ExactInto<U> for Twhere
U: ExactFrom<T>,
impl<T, U> ExactInto<U> for Twhere U: ExactFrom<T>,
fn exact_into(self) -> U
source§impl<T> FromArgOptional for Twhere
T: TryFromObject,
impl<T> FromArgOptional for Twhere T: TryFromObject,
type Inner = T
fn from_inner(x: T) -> T
source§impl<T> FromArgs for Twhere
T: TryFromObject,
impl<T> FromArgs for Twhere T: TryFromObject,
source§fn arity() -> RangeInclusive<usize>
fn arity() -> RangeInclusive<usize>
The range of positional arguments permitted by the function signature. Read more
source§fn from_args(
vm: &VirtualMachine,
args: &mut FuncArgs
) -> Result<T, ArgumentError>
fn from_args( vm: &VirtualMachine, args: &mut FuncArgs ) -> Result<T, ArgumentError>
Extracts this item from the next argument(s).
§impl<T, U> OverflowingInto<U> for Twhere
U: OverflowingFrom<T>,
impl<T, U> OverflowingInto<U> for Twhere U: OverflowingFrom<T>,
fn overflowing_into(self) -> (U, bool)
§impl<T, U> RoundingInto<U> for Twhere
U: RoundingFrom<T>,
impl<T, U> RoundingInto<U> for Twhere U: RoundingFrom<T>,
fn rounding_into(self, rm: RoundingMode) -> U
§impl<T, U> SaturatingInto<U> for Twhere
U: SaturatingFrom<T>,
impl<T, U> SaturatingInto<U> for Twhere U: SaturatingFrom<T>,
fn saturating_into(self) -> U
source§impl<T> TryFromObject for Twhere
T: for<'a> TryFromBorrowedObject<'a>,
impl<T> TryFromObject for Twhere T: for<'a> TryFromBorrowedObject<'a>,
source§fn try_from_object(
vm: &VirtualMachine,
obj: PyObjectRef
) -> Result<T, PyRef<PyBaseException>>
fn try_from_object( vm: &VirtualMachine, obj: PyObjectRef ) -> Result<T, PyRef<PyBaseException>>
Attempt to convert a Python object to a value of this type.