pub struct QueryRef(/* private fields */);
Implementations§
source§impl QueryRef
impl QueryRef
pub fn as_ptr(&self) -> *const GstQuery
pub 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
pub fn ptr_eq(this: &QueryRef, other: &QueryRef) -> bool
source§impl 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<'_>
pub fn view_mut(&mut self) -> QueryViewMut<'_>
Trait Implementations§
source§impl<'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.
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 StaticType for QueryRef
impl StaticType for QueryRef
source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.impl Send for QueryRef
impl Sync for QueryRef
Auto Trait Implementations§
impl Freeze for QueryRef
impl RefUnwindSafe for QueryRef
impl Unpin for QueryRef
impl UnwindSafe for QueryRef
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§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.