[−]Struct gstreamer::buffer::BUFFER_COPY_ALL
Methods from Deref<Target = BufferCopyFlags>
pub const NONE: BufferCopyFlags
pub const FLAGS: BufferCopyFlags
pub const TIMESTAMPS: BufferCopyFlags
pub const META: BufferCopyFlags
pub const MEMORY: BufferCopyFlags
pub const MERGE: BufferCopyFlags
pub const DEEP: BufferCopyFlags
pub fn bits(&self) -> u32
Returns the raw value of the flags currently stored.
pub fn is_empty(&self) -> bool
Returns true
if no flags are currently stored.
pub fn is_all(&self) -> bool
Returns true
if all flags are currently set.
pub fn intersects(&self, other: BufferCopyFlags) -> bool
Returns true
if there are flags common to both self
and other
.
pub fn contains(&self, other: BufferCopyFlags) -> bool
Returns true
all of the flags in other
are contained within self
.
Trait Implementations
impl Deref for BUFFER_COPY_ALL
type Target = BufferCopyFlags
The resulting type after dereferencing.
fn deref(&self) -> &BufferCopyFlags
impl LazyStatic for BUFFER_COPY_ALL
fn initialize(lazy: &Self)
Auto Trait Implementations
impl Send for BUFFER_COPY_ALL
impl Sync for BUFFER_COPY_ALL
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)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> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,