[−][src]Enum gstreamer_video::VideoFormat
Enum value describing the most common video formats.
See the GStreamer raw video format design document for details about the layout and packing of these formats in memory.
Variants
Methods
impl VideoFormat
[src]
pub fn from_fourcc(fourcc: u32) -> VideoFormat
[src]
pub fn from_masks(
depth: u32,
bpp: u32,
endianness: VideoEndianness,
red_mask: u32,
blue_mask: u32,
green_mask: u32,
alpha_mask: u32
) -> VideoFormat
[src]
depth: u32,
bpp: u32,
endianness: VideoEndianness,
red_mask: u32,
blue_mask: u32,
green_mask: u32,
alpha_mask: u32
) -> VideoFormat
pub fn to_str<'a>(self) -> &'a str
[src]
Trait Implementations
impl Clone for VideoFormat
[src]
fn clone(&self) -> VideoFormat
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for VideoFormat
[src]
impl Debug for VideoFormat
[src]
impl Display for VideoFormat
[src]
impl Eq for VideoFormat
[src]
impl From<VideoFormat> for VideoFormatInfo
[src]
fn from(f: VideoFormat) -> Self
[src]
impl FromStr for VideoFormat
[src]
type Err = BoolError
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Self, BoolError>
[src]
impl<'a> FromValue<'a> for VideoFormat
[src]
unsafe fn from_value(value: &Value) -> Self
[src]
impl<'a> FromValueOptional<'a> for VideoFormat
[src]
unsafe fn from_value_optional(value: &Value) -> Option<Self>
[src]
impl Hash for VideoFormat
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for VideoFormat
[src]
fn cmp(&self, other: &VideoFormat) -> Ordering
[src]
#[must_use]
fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]
fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]
fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<VideoFormat> for VideoFormat
[src]
fn eq(&self, other: &VideoFormat) -> bool
[src]
fn ne(&self, other: &VideoFormat) -> bool
[src]
impl PartialOrd<VideoFormat> for VideoFormat
[src]
fn partial_cmp(&self, other: &VideoFormat) -> Option<Ordering>
[src]
fn lt(&self, other: &VideoFormat) -> bool
[src]
fn le(&self, other: &VideoFormat) -> bool
[src]
fn gt(&self, other: &VideoFormat) -> bool
[src]
fn ge(&self, other: &VideoFormat) -> bool
[src]
impl SetValue for VideoFormat
[src]
impl StaticType for VideoFormat
[src]
fn static_type() -> Type
[src]
impl StructuralEq for VideoFormat
[src]
impl StructuralPartialEq for VideoFormat
[src]
Auto Trait Implementations
impl RefUnwindSafe for VideoFormat
impl Send for VideoFormat
impl Sync for VideoFormat
impl Unpin for VideoFormat
impl UnwindSafe for VideoFormat
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToSendValue for T where
T: ToValue + SetValue + Send + ?Sized,
[src]
T: ToValue + SetValue + Send + ?Sized,
fn to_send_value(&self) -> SendValue
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T> ToValue for T where
T: SetValue + ?Sized,
[src]
T: SetValue + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,