Enum gstreamer::PadLinkReturn
source · pub enum PadLinkReturn {
Ok,
WrongHierarchy,
WasLinked,
WrongDirection,
Noformat,
Nosched,
Refused,
// some variants omitted
}
Variants
Ok
WrongHierarchy
WasLinked
WrongDirection
Noformat
Nosched
Refused
Implementations
sourceimpl PadLinkReturn
impl PadLinkReturn
pub fn into_result(self) -> Result<PadLinkSuccess, PadLinkError>
pub fn from_error(v: PadLinkError) -> Self
pub fn from_ok(_: PadLinkSuccess) -> Self
Trait Implementations
sourceimpl Clone for PadLinkReturn
impl Clone for PadLinkReturn
sourcefn clone(&self) -> PadLinkReturn
fn clone(&self) -> PadLinkReturn
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for PadLinkReturn
impl Debug for PadLinkReturn
sourceimpl From<PadLinkError> for PadLinkReturn
impl From<PadLinkError> for PadLinkReturn
sourcefn from(value: PadLinkError) -> Self
fn from(value: PadLinkError) -> Self
Converts to this type from the input type.
sourceimpl From<PadLinkSuccess> for PadLinkReturn
impl From<PadLinkSuccess> for PadLinkReturn
sourcefn from(value: PadLinkSuccess) -> Self
fn from(value: PadLinkSuccess) -> Self
Converts to this type from the input type.
sourceimpl<'a> FromValue<'a> for PadLinkReturn
impl<'a> FromValue<'a> for PadLinkReturn
unsafe fn from_value(value: &Value) -> Self
sourceimpl<'a> FromValueOptional<'a> for PadLinkReturn
impl<'a> FromValueOptional<'a> for PadLinkReturn
unsafe fn from_value_optional(value: &Value) -> Option<Self>
sourceimpl Hash for PadLinkReturn
impl Hash for PadLinkReturn
sourceimpl Ord for PadLinkReturn
impl Ord for PadLinkReturn
sourcefn cmp(&self, other: &PadLinkReturn) -> Ordering
fn cmp(&self, other: &PadLinkReturn) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<PadLinkReturn> for PadLinkReturn
impl PartialEq<PadLinkReturn> for PadLinkReturn
sourcefn eq(&self, other: &PadLinkReturn) -> bool
fn eq(&self, other: &PadLinkReturn) -> bool
sourceimpl PartialOrd<PadLinkReturn> for PadLinkReturn
impl PartialOrd<PadLinkReturn> for PadLinkReturn
sourcefn partial_cmp(&self, other: &PadLinkReturn) -> Option<Ordering>
fn partial_cmp(&self, other: &PadLinkReturn) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresourceimpl StaticType for PadLinkReturn
impl StaticType for PadLinkReturn
sourcefn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.impl Copy for PadLinkReturn
impl Eq for PadLinkReturn
impl StructuralEq for PadLinkReturn
impl StructuralPartialEq for PadLinkReturn
Auto Trait Implementations
impl RefUnwindSafe for PadLinkReturn
impl Send for PadLinkReturn
impl Sync for PadLinkReturn
impl Unpin for PadLinkReturn
impl UnwindSafe for PadLinkReturn
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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> ToSendValue for Twhere
T: SetValue + Send + ToValue + ?Sized,
impl<T> ToSendValue for Twhere
T: SetValue + Send + ToValue + ?Sized,
sourcefn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a
SendValue
clone of self
.