#[repr(transparent)]pub struct Query { /* private fields */ }
Implementations
sourceimpl Query
impl Query
pub unsafe fn from_glib_none(ptr: *const GstQuery) -> Self
pub unsafe fn from_glib_full(ptr: *const GstQuery) -> Self
pub unsafe fn from_glib_borrow(ptr: *const GstQuery) -> Borrowed<Self>
pub unsafe fn replace_ptr(&mut self, ptr: *mut GstQuery)
pub fn make_mut(&mut self) -> &mut QueryRef
pub fn get_mut(&mut self) -> Option<&mut QueryRef>
pub fn is_writable(&self) -> bool
pub fn upcast(self) -> MiniObject
pub unsafe fn into_ptr(self) -> *mut GstQuery
Methods from Deref<Target = QueryRef>
pub unsafe fn as_ptr(&self) -> *const GstQuery
pub unsafe fn as_mut_ptr(&self) -> *mut GstQuery
pub fn copy(&self) -> Query
pub fn upcast_ref(&self) -> &MiniObjectRef
pub fn structure(&self) -> Option<&StructureRef>
pub fn is_downstream(&self) -> bool
pub fn is_upstream(&self) -> bool
pub fn is_serialized(&self) -> bool
pub fn view(&self) -> QueryView<&Self>
Trait Implementations
sourceimpl From<AcceptCaps<Query>> for Query
impl From<AcceptCaps<Query>> for Query
sourcefn from(concrete: AcceptCaps<Query>) -> Self
fn from(concrete: AcceptCaps<Query>) -> Self
Performs the conversion.
sourceimpl From<Allocation<Query>> for Query
impl From<Allocation<Query>> for Query
sourcefn from(concrete: Allocation<Query>) -> Self
fn from(concrete: Allocation<Query>) -> Self
Performs the conversion.
sourceimpl From<Scheduling<Query>> for Query
impl From<Scheduling<Query>> for Query
sourcefn from(concrete: Scheduling<Query>) -> Self
fn from(concrete: Scheduling<Query>) -> Self
Performs the conversion.
sourceimpl FromGlibContainerAsVec<*mut GstQuery, *const *mut GstQuery> for Query
impl FromGlibContainerAsVec<*mut GstQuery, *const *mut GstQuery> for Query
unsafe fn from_glib_none_num_as_vec(
ptr: *const *mut GstQuery,
num: usize
) -> Vec<Self>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
unsafe fn from_glib_container_num_as_vec(
_: *const *mut GstQuery,
_: usize
) -> Vec<Self>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
unsafe fn from_glib_full_num_as_vec(
_: *const *mut GstQuery,
_: usize
) -> Vec<Self>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
sourceimpl FromGlibContainerAsVec<*mut GstQuery, *mut *mut GstQuery> for Query
impl FromGlibContainerAsVec<*mut GstQuery, *mut *mut GstQuery> for Query
unsafe fn from_glib_none_num_as_vec(
ptr: *mut *mut GstQuery,
num: usize
) -> Vec<Self>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
unsafe fn from_glib_container_num_as_vec(
ptr: *mut *mut GstQuery,
num: usize
) -> Vec<Self>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
unsafe fn from_glib_full_num_as_vec(
ptr: *mut *mut GstQuery,
num: usize
) -> Vec<Self>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
sourceimpl FromGlibPtrArrayContainerAsVec<*mut GstQuery, *const *mut GstQuery> for Query
impl FromGlibPtrArrayContainerAsVec<*mut GstQuery, *const *mut GstQuery> for Query
unsafe fn from_glib_none_as_vec(ptr: *const *mut GstQuery) -> Vec<Self>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
unsafe fn from_glib_container_as_vec(_: *const *mut GstQuery) -> Vec<Self>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
unsafe fn from_glib_full_as_vec(_: *const *mut GstQuery) -> Vec<Self>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
sourceimpl FromGlibPtrArrayContainerAsVec<*mut GstQuery, *mut *mut GstQuery> for Query
impl FromGlibPtrArrayContainerAsVec<*mut GstQuery, *mut *mut GstQuery> for Query
unsafe fn from_glib_none_as_vec(ptr: *mut *mut GstQuery) -> Vec<Self>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
unsafe fn from_glib_container_as_vec(ptr: *mut *mut GstQuery) -> Vec<Self>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
unsafe fn from_glib_full_as_vec(ptr: *mut *mut GstQuery) -> Vec<Self>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
sourceimpl FromGlibPtrBorrow<*const GstQuery> for Query
impl FromGlibPtrBorrow<*const GstQuery> for Query
sourceimpl FromGlibPtrBorrow<*mut GstQuery> for Query
impl FromGlibPtrBorrow<*mut GstQuery> for Query
sourceimpl FromGlibPtrFull<*const GstQuery> for Query
impl FromGlibPtrFull<*const GstQuery> for Query
sourceunsafe fn from_glib_full(ptr: *const GstQuery) -> Self
unsafe fn from_glib_full(ptr: *const GstQuery) -> Self
Safety Read more
sourceimpl FromGlibPtrFull<*mut GstQuery> for Query
impl FromGlibPtrFull<*mut GstQuery> for Query
sourceunsafe fn from_glib_full(ptr: *mut GstQuery) -> Self
unsafe fn from_glib_full(ptr: *mut GstQuery) -> Self
Safety Read more
sourceimpl FromGlibPtrNone<*const GstQuery> for Query
impl FromGlibPtrNone<*const GstQuery> for Query
sourceunsafe fn from_glib_none(ptr: *const GstQuery) -> Self
unsafe fn from_glib_none(ptr: *const GstQuery) -> Self
Safety Read more
sourceimpl FromGlibPtrNone<*mut GstQuery> for Query
impl FromGlibPtrNone<*mut GstQuery> for Query
sourceunsafe fn from_glib_none(ptr: *mut GstQuery) -> Self
unsafe fn from_glib_none(ptr: *mut GstQuery) -> Self
Safety Read more
sourceimpl<'a> FromValue<'a> for Query
impl<'a> FromValue<'a> for Query
type Checker = GenericValueTypeOrNoneChecker<Self>
type Checker = GenericValueTypeOrNoneChecker<Self>
Value type checker.
sourceunsafe fn from_value(value: &'a Value) -> Self
unsafe fn from_value(value: &'a Value) -> Self
Get the contained value from a Value
. Read more
sourceimpl<'a> FromValue<'a> for &'a Query
impl<'a> FromValue<'a> for &'a Query
type Checker = GenericValueTypeOrNoneChecker<Self>
type Checker = GenericValueTypeOrNoneChecker<Self>
Value type checker.
sourceunsafe fn from_value(value: &'a Value) -> Self
unsafe fn from_value(value: &'a Value) -> Self
Get the contained value from a Value
. Read more
sourceimpl StaticType for Query
impl StaticType for Query
sourcefn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of Self
.
sourceimpl<'a> ToGlibContainerFromSlice<'a, *const *mut GstQuery> for Query
impl<'a> ToGlibContainerFromSlice<'a, *const *mut GstQuery> for Query
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)
fn to_glib_container_from_slice(
_: &'a [Query]
) -> (*const *mut GstQuery, Self::Storage)
fn to_glib_full_from_slice(_: &[Query]) -> *const *mut GstQuery
sourceimpl<'a> ToGlibContainerFromSlice<'a, *mut *mut GstQuery> for Query
impl<'a> ToGlibContainerFromSlice<'a, *mut *mut GstQuery> for Query
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)
fn to_glib_container_from_slice(
t: &'a [Query]
) -> (*mut *mut GstQuery, Self::Storage)
fn to_glib_full_from_slice(t: &[Query]) -> *mut *mut GstQuery
sourceimpl<'a> ToGlibPtrMut<'a, *mut GstQuery> for Query
impl<'a> ToGlibPtrMut<'a, *mut GstQuery> for Query
sourceimpl ToValueOptional for Query
impl ToValueOptional for Query
sourcefn to_value_optional(s: Option<&Self>) -> Value
fn to_value_optional(s: Option<&Self>) -> Value
Convert an Option
to a Value
.
impl Send for Query
impl Sync for Query
impl ValueTypeOptional for Query
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> StaticTypeExt for T where
T: StaticType,
impl<T> StaticTypeExt for T where
T: StaticType,
sourcepub fn ensure_type()
pub fn ensure_type()
Ensures that the type has been registered with the type system.
sourceimpl<T> ToClosureReturnValue for T where
T: ToValue,
impl<T> ToClosureReturnValue for T where
T: ToValue,
pub fn to_closure_return_value(&self) -> Option<Value>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> ToSendValue for T where
T: Send + ToValue + ?Sized,
impl<T> ToSendValue for T where
T: Send + ToValue + ?Sized,
sourcepub fn to_send_value(&self) -> SendValue
pub fn to_send_value(&self) -> SendValue
Returns a SendValue
clone of self
.