Struct gstreamer::query::Query [−][src]
pub struct Query { /* fields omitted */ }
Implementations
impl Query
[src]
impl Query
[src]pub unsafe fn from_glib_none(ptr: *const GstQuery) -> Self
[src]
pub unsafe fn from_glib_full(ptr: *const GstQuery) -> Self
[src]
pub unsafe fn from_glib_borrow(ptr: *const GstQuery) -> Borrowed<Self>
[src]
pub unsafe fn replace_ptr(&mut self, ptr: *mut GstQuery)
[src]
pub fn make_mut(&mut self) -> &mut QueryRef
[src]
pub fn get_mut(&mut self) -> Option<&mut QueryRef>
[src]
pub fn is_writable(&self) -> bool
[src]
pub unsafe fn into_ptr(self) -> *mut GstQuery
[src]
Methods from Deref<Target = QueryRef>
pub unsafe fn as_ptr(&self) -> *const GstQuery
[src]
pub unsafe fn as_mut_ptr(&self) -> *mut GstQuery
[src]
pub fn copy(&self) -> Query
[src]
pub fn structure(&self) -> Option<&StructureRef>
[src]
pub fn is_downstream(&self) -> bool
[src]
pub fn is_upstream(&self) -> bool
[src]
pub fn is_serialized(&self) -> bool
[src]
pub fn view(&self) -> QueryView<&Self>
[src]
Trait Implementations
impl From<AcceptCaps<Query>> for Query
[src]
impl From<AcceptCaps<Query>> for Query
[src]fn from(concrete: AcceptCaps<Query>) -> Self
[src]
fn from(concrete: AcceptCaps<Query>) -> Self
[src]Performs the conversion.
impl From<Allocation<Query>> for Query
[src]
impl From<Allocation<Query>> for Query
[src]fn from(concrete: Allocation<Query>) -> Self
[src]
fn from(concrete: Allocation<Query>) -> Self
[src]Performs the conversion.
impl From<Scheduling<Query>> for Query
[src]
impl From<Scheduling<Query>> for Query
[src]fn from(concrete: Scheduling<Query>) -> Self
[src]
fn from(concrete: Scheduling<Query>) -> Self
[src]Performs the conversion.
impl FromGlibPtrArrayContainerAsVec<*mut GstQuery, *const *mut GstQuery> for Query
[src]
impl FromGlibPtrArrayContainerAsVec<*mut GstQuery, *const *mut GstQuery> for Query
[src]unsafe fn from_glib_none_as_vec(ptr: *const *mut GstQuery) -> Vec<Self>
[src]
unsafe fn from_glib_container_as_vec(_: *const *mut GstQuery) -> Vec<Self>
[src]
unsafe fn from_glib_full_as_vec(_: *const *mut GstQuery) -> Vec<Self>
[src]
impl FromGlibPtrArrayContainerAsVec<*mut GstQuery, *mut *mut GstQuery> for Query
[src]
impl FromGlibPtrArrayContainerAsVec<*mut GstQuery, *mut *mut GstQuery> for Query
[src]unsafe fn from_glib_none_as_vec(ptr: *mut *mut GstQuery) -> Vec<Self>
[src]
unsafe fn from_glib_container_as_vec(ptr: *mut *mut GstQuery) -> Vec<Self>
[src]
unsafe fn from_glib_full_as_vec(ptr: *mut *mut GstQuery) -> Vec<Self>
[src]
impl FromGlibPtrBorrow<*const GstQuery> for Query
[src]
impl FromGlibPtrBorrow<*const GstQuery> for Query
[src]unsafe fn from_glib_borrow(ptr: *const GstQuery) -> Borrowed<Self>
[src]
unsafe fn from_glib_borrow(ptr: *const GstQuery) -> Borrowed<Self>
[src]Safety Read more
impl FromGlibPtrBorrow<*mut GstQuery> for Query
[src]
impl FromGlibPtrBorrow<*mut GstQuery> for Query
[src]unsafe fn from_glib_borrow(ptr: *mut GstQuery) -> Borrowed<Self>
[src]
unsafe fn from_glib_borrow(ptr: *mut GstQuery) -> Borrowed<Self>
[src]Safety Read more
impl FromGlibPtrFull<*const GstQuery> for Query
[src]
impl FromGlibPtrFull<*const GstQuery> for Query
[src]unsafe fn from_glib_full(ptr: *const GstQuery) -> Self
[src]
unsafe fn from_glib_full(ptr: *const GstQuery) -> Self
[src]Safety Read more
impl FromGlibPtrFull<*mut GstQuery> for Query
[src]
impl FromGlibPtrFull<*mut GstQuery> for Query
[src]unsafe fn from_glib_full(ptr: *mut GstQuery) -> Self
[src]
unsafe fn from_glib_full(ptr: *mut GstQuery) -> Self
[src]Safety Read more
impl FromGlibPtrNone<*const GstQuery> for Query
[src]
impl FromGlibPtrNone<*const GstQuery> for Query
[src]unsafe fn from_glib_none(ptr: *const GstQuery) -> Self
[src]
unsafe fn from_glib_none(ptr: *const GstQuery) -> Self
[src]Safety Read more
impl FromGlibPtrNone<*mut GstQuery> for Query
[src]
impl FromGlibPtrNone<*mut GstQuery> for Query
[src]unsafe fn from_glib_none(ptr: *mut GstQuery) -> Self
[src]
unsafe fn from_glib_none(ptr: *mut GstQuery) -> Self
[src]Safety Read more
impl<'a> FromValue<'a> for Query
[src]
impl<'a> FromValue<'a> for Query
[src]type Checker = GenericValueTypeOrNoneChecker<Self>
type Checker = GenericValueTypeOrNoneChecker<Self>
Value type checker.
unsafe fn from_value(value: &'a Value) -> Self
[src]
unsafe fn from_value(value: &'a Value) -> Self
[src]Get the contained value from a Value
. Read more
impl GlibPtrDefault for Query
[src]
impl GlibPtrDefault for Query
[src]impl StaticType for Query
[src]
impl StaticType for Query
[src]fn static_type() -> Type
[src]
fn static_type() -> Type
[src]Returns the type identifier of Self
.
impl<'a> ToGlibContainerFromSlice<'a, *const *mut GstQuery> for Query
[src]
impl<'a> ToGlibContainerFromSlice<'a, *const *mut GstQuery> for Query
[src]type Storage = (Vec<Stash<'a, *mut GstQuery, Query>>, Option<Vec<*mut GstQuery>>)
fn to_glib_none_from_slice(
t: &'a [Query]
) -> (*const *mut GstQuery, Self::Storage)
[src]
t: &'a [Query]
) -> (*const *mut GstQuery, Self::Storage)
fn to_glib_container_from_slice(
_: &'a [Query]
) -> (*const *mut GstQuery, Self::Storage)
[src]
_: &'a [Query]
) -> (*const *mut GstQuery, Self::Storage)
fn to_glib_full_from_slice(_: &[Query]) -> *const *mut GstQuery
[src]
impl<'a> ToGlibContainerFromSlice<'a, *mut *mut GstQuery> for Query
[src]
impl<'a> ToGlibContainerFromSlice<'a, *mut *mut GstQuery> for Query
[src]type Storage = (Vec<Stash<'a, *mut GstQuery, Self>>, Option<Vec<*mut GstQuery>>)
fn to_glib_none_from_slice(
t: &'a [Query]
) -> (*mut *mut GstQuery, Self::Storage)
[src]
t: &'a [Query]
) -> (*mut *mut GstQuery, Self::Storage)
fn to_glib_container_from_slice(
t: &'a [Query]
) -> (*mut *mut GstQuery, Self::Storage)
[src]
t: &'a [Query]
) -> (*mut *mut GstQuery, Self::Storage)
fn to_glib_full_from_slice(t: &[Query]) -> *mut *mut GstQuery
[src]
impl<'a> ToGlibPtr<'a, *const GstQuery> for Query
[src]
impl<'a> ToGlibPtr<'a, *const GstQuery> for Query
[src]type Storage = &'a Self
fn to_glib_none(&'a self) -> Stash<'a, *const GstQuery, Self>
[src]
fn to_glib_none(&'a self) -> Stash<'a, *const GstQuery, Self>
[src]Transfer: none. Read more
fn to_glib_full(&self) -> *const GstQuery
[src]
fn to_glib_full(&self) -> *const GstQuery
[src]Transfer: full. Read more
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
[src]
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
[src]Transfer: container. Read more
impl<'a> ToGlibPtr<'a, *mut GstQuery> for Query
[src]
impl<'a> ToGlibPtr<'a, *mut GstQuery> for Query
[src]type Storage = &'a Self
fn to_glib_none(&'a self) -> Stash<'a, *mut GstQuery, Self>
[src]
fn to_glib_none(&'a self) -> Stash<'a, *mut GstQuery, Self>
[src]Transfer: none. Read more
fn to_glib_full(&self) -> *mut GstQuery
[src]
fn to_glib_full(&self) -> *mut GstQuery
[src]Transfer: full. Read more
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
[src]
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
[src]Transfer: container. Read more
impl<'a> ToGlibPtrMut<'a, *mut GstQuery> for Query
[src]
impl<'a> ToGlibPtrMut<'a, *mut GstQuery> for Query
[src]impl ToValueOptional for Query
[src]
impl ToValueOptional for Query
[src]fn to_value_optional(s: Option<&Self>) -> Value
[src]
fn to_value_optional(s: Option<&Self>) -> Value
[src]Convert an Option
to a Value
.
impl Send for Query
[src]
impl Sync for Query
[src]
Auto Trait Implementations
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>,