Enum vapoursynth4_sys::VSDataTypeHint
source · #[repr(C)]pub enum VSDataTypeHint {
Unknown,
Binary,
Utf8,
}Expand description
Since the data type can contain both pure binary data and printable strings, the type also contains a hint for whether or not it is human readable. Generally the unknown type should be very rare and is almost only created as an artifact of API3 compatibility.
Variants§
Trait Implementations§
source§impl Clone for VSDataTypeHint
impl Clone for VSDataTypeHint
source§fn clone(&self) -> VSDataTypeHint
fn clone(&self) -> VSDataTypeHint
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 Debug for VSDataTypeHint
impl Debug for VSDataTypeHint
source§impl Hash for VSDataTypeHint
impl Hash for VSDataTypeHint
source§impl Ord for VSDataTypeHint
impl Ord for VSDataTypeHint
source§fn cmp(&self, other: &VSDataTypeHint) -> Ordering
fn cmp(&self, other: &VSDataTypeHint) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<VSDataTypeHint> for VSDataTypeHint
impl PartialEq<VSDataTypeHint> for VSDataTypeHint
source§fn eq(&self, other: &VSDataTypeHint) -> bool
fn eq(&self, other: &VSDataTypeHint) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<VSDataTypeHint> for VSDataTypeHint
impl PartialOrd<VSDataTypeHint> for VSDataTypeHint
source§fn partial_cmp(&self, other: &VSDataTypeHint) -> Option<Ordering>
fn partial_cmp(&self, other: &VSDataTypeHint) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for VSDataTypeHint
impl Eq for VSDataTypeHint
impl StructuralEq for VSDataTypeHint
impl StructuralPartialEq for VSDataTypeHint
Auto Trait Implementations§
impl RefUnwindSafe for VSDataTypeHint
impl Send for VSDataTypeHint
impl Sync for VSDataTypeHint
impl Unpin for VSDataTypeHint
impl UnwindSafe for VSDataTypeHint
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