Struct gstreamer_gl::GLVideoAllocationParams [−][src]
pub struct GLVideoAllocationParams(_);
Implementations
impl GLVideoAllocationParams
[src]
impl GLVideoAllocationParams
[src]pub fn new<P: IsA<GLContext>>(
context: &P,
alloc_params: Option<&AllocationParams>,
v_info: &VideoInfo,
plane: u32,
valign: Option<&VideoAlignment>,
target: GLTextureTarget,
tex_format: GLFormat
) -> GLVideoAllocationParams
[src]
pub fn new<P: IsA<GLContext>>(
context: &P,
alloc_params: Option<&AllocationParams>,
v_info: &VideoInfo,
plane: u32,
valign: Option<&VideoAlignment>,
target: GLTextureTarget,
tex_format: GLFormat
) -> GLVideoAllocationParams
[src]context
alloc_params
the crate::gst::AllocationParams
for sysmem mappings of the texture
v_info
the crate::gst_video::VideoInfo
for the texture
plane
the video plane of v_info
to allocate
valign
any crate::gst_video::VideoAlignment
applied to symem mappings of the texture
target
the crate::GLTextureTarget
for the created textures
tex_format
the crate::GLFormat
for the created textures
Returns
a new crate::GLVideoAllocationParams
for allocating crate::GLMemory
’s
pub fn copy_data(&self, dest_vid: &mut GLVideoAllocationParams)
[src]
pub fn copy_data(&self, dest_vid: &mut GLVideoAllocationParams)
[src]Copy and set any dynamically allocated resources in dest_vid
. Intended
for subclass usage only to chain up at the end of a subclass copy function.
dest_vid
destination crate::GLVideoAllocationParams
to copy into
Trait Implementations
impl Clone for GLVideoAllocationParams
[src]
impl Clone for GLVideoAllocationParams
[src]fn clone(&self) -> GLVideoAllocationParams
[src]
fn clone(&self) -> GLVideoAllocationParams
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for GLVideoAllocationParams
[src]
impl Debug for GLVideoAllocationParams
[src]impl Hash for GLVideoAllocationParams
[src]
impl Hash for GLVideoAllocationParams
[src]impl Ord for GLVideoAllocationParams
[src]
impl Ord for GLVideoAllocationParams
[src]impl PartialEq<GLVideoAllocationParams> for GLVideoAllocationParams
[src]
impl PartialEq<GLVideoAllocationParams> for GLVideoAllocationParams
[src]fn eq(&self, other: &GLVideoAllocationParams) -> bool
[src]
fn eq(&self, other: &GLVideoAllocationParams) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &GLVideoAllocationParams) -> bool
[src]
fn ne(&self, other: &GLVideoAllocationParams) -> bool
[src]This method tests for !=
.
impl PartialOrd<GLVideoAllocationParams> for GLVideoAllocationParams
[src]
impl PartialOrd<GLVideoAllocationParams> for GLVideoAllocationParams
[src]fn partial_cmp(&self, other: &GLVideoAllocationParams) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &GLVideoAllocationParams) -> Option<Ordering>
[src]This method returns an ordering between self
and other
values if one exists. Read more
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl StaticType for GLVideoAllocationParams
[src]
impl StaticType for GLVideoAllocationParams
[src]fn static_type() -> Type
[src]
fn static_type() -> Type
[src]Returns the type identifier of Self
.
impl Eq for GLVideoAllocationParams
[src]
impl Send for GLVideoAllocationParams
[src]
impl StructuralEq for GLVideoAllocationParams
[src]
impl StructuralPartialEq for GLVideoAllocationParams
[src]
impl Sync for GLVideoAllocationParams
[src]
Auto Trait Implementations
impl RefUnwindSafe for GLVideoAllocationParams
impl Unpin for GLVideoAllocationParams
impl UnwindSafe for GLVideoAllocationParams
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> ToSendValue for T where
T: Send + ToValue + ?Sized,
[src]
impl<T> ToSendValue for T where
T: Send + ToValue + ?Sized,
[src]pub fn to_send_value(&self) -> SendValue
[src]
pub fn to_send_value(&self) -> SendValue
[src]Returns a SendValue
clone of self
.
impl<'a, T, C> FromValueOptional<'a> for T where
C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError>,
T: FromValue<'a, Checker = C>,
[src]
C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError>,
T: FromValue<'a, Checker = C>,