#[repr(transparent)]pub struct QueryRef(_);
Implementations
sourceimpl QueryRef
impl QueryRef
pub unsafe fn as_ptr(&self) -> *const GstQuery
pub unsafe fn as_mut_ptr(&self) -> *mut GstQuery
pub unsafe fn from_ptr<'a>(ptr: *const GstQuery) -> &'a Self
pub unsafe fn from_mut_ptr<'a>(ptr: *mut GstQuery) -> &'a mut Self
pub fn copy(&self) -> Query
pub fn upcast_ref(&self) -> &MiniObjectRef
pub fn upcast_mut(&mut self) -> &mut MiniObjectRef
sourceimpl QueryRef
impl QueryRef
pub fn structure(&self) -> Option<&StructureRef>
pub fn structure_mut(&mut self) -> &mut 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>
pub fn view_mut(&mut self) -> QueryView<&mut Self>
Trait Implementations
sourceimpl<'a> FromValue<'a> for &'a QueryRef
impl<'a> FromValue<'a> for &'a QueryRef
type Checker = GenericValueTypeOrNoneChecker<&'a QueryRef>
type Checker = GenericValueTypeOrNoneChecker<&'a QueryRef>
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 QueryRef
impl StaticType for QueryRef
sourcefn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of Self
.
sourceimpl ToOwned for QueryRef
impl ToOwned for QueryRef
impl Send for QueryRef
impl Sync for QueryRef
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 · sourcefn borrow_mut(&mut self) -> &mut T
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,
sourcefn ensure_type()
fn ensure_type()
Ensures that the type has been registered with the type system.