#[repr(transparent)]pub struct Query { /* private fields */ }
Implementations§
source§impl 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
Methods from Deref<Target = QueryRef>§
pub fn as_ptr(&self) -> *const GstQuery
pub 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<'_>
Trait Implementations§
source§impl From<AcceptCaps<Query>> for Query
impl From<AcceptCaps<Query>> for Query
source§fn from(concrete: AcceptCaps<Query>) -> Self
fn from(concrete: AcceptCaps<Query>) -> Self
Converts to this type from the input type.
source§impl From<Allocation<Query>> for Query
impl From<Allocation<Query>> for Query
source§fn from(concrete: Allocation<Query>) -> Self
fn from(concrete: Allocation<Query>) -> Self
Converts to this type from the input type.
source§impl From<Scheduling<Query>> for Query
impl From<Scheduling<Query>> for Query
source§fn from(concrete: Scheduling<Query>) -> Self
fn from(concrete: Scheduling<Query>) -> Self
Converts to this type from the input type.
source§impl From<Selectable<Query>> for Query
impl From<Selectable<Query>> for Query
source§fn from(concrete: Selectable<Query>) -> Self
fn from(concrete: Selectable<Query>) -> Self
Converts to this type from the input type.
source§impl<'a> FromValue<'a> for &'a Query
impl<'a> FromValue<'a> for &'a Query
§type Checker = GenericValueTypeOrNoneChecker<&'a Query>
type Checker = GenericValueTypeOrNoneChecker<&'a Query>
Value type checker.
source§unsafe fn from_value(value: &'a Value) -> Self
unsafe fn from_value(value: &'a Value) -> Self
Get the contained value from a
Value
. Read moresource§impl<'a> FromValue<'a> for Query
impl<'a> FromValue<'a> for Query
§type Checker = GenericValueTypeOrNoneChecker<Query>
type Checker = GenericValueTypeOrNoneChecker<Query>
Value type checker.
source§unsafe fn from_value(value: &'a Value) -> Self
unsafe fn from_value(value: &'a Value) -> Self
Get the contained value from a
Value
. Read moresource§impl IntoGlibPtr<*mut GstQuery> for Query
impl IntoGlibPtr<*mut GstQuery> for Query
source§unsafe fn into_glib_ptr(self) -> *mut GstQuery
unsafe fn into_glib_ptr(self) -> *mut GstQuery
Transfer: full.
source§impl StaticType for Query
impl StaticType for Query
source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.source§impl<'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>, Global>, Option<Vec<*mut GstQuery, Global>>)
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
source§impl<'a> ToGlibContainerFromSlice<'a, *mut *mut GstQuery> for Query
impl<'a> ToGlibContainerFromSlice<'a, *mut *mut GstQuery> for Query
type Storage = (Vec<Stash<'a, *mut GstQuery, Query>, Global>, Option<Vec<*mut GstQuery, Global>>)
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
source§impl ToValueOptional for Query
impl ToValueOptional for Query
impl Send for Query
impl Sync for Query
impl ValueTypeOptional for Query
Auto Trait Implementations§
Blanket Implementations§
source§impl<T> StaticTypeExt for Twhere
T: StaticType,
impl<T> StaticTypeExt for Twhere
T: StaticType,
source§fn ensure_type()
fn ensure_type()
Ensures that the type has been registered with the type system.
source§impl<T> ToClosureReturnValue for Twhere
T: ToValue,
impl<T> ToClosureReturnValue for Twhere
T: ToValue,
fn to_closure_return_value(&self) -> Option<Value>
source§impl<T> ToSendValue for Twhere
T: Send + ToValue + ?Sized,
impl<T> ToSendValue for Twhere
T: Send + ToValue + ?Sized,
source§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a
SendValue
clone of self
.