#[repr(i32)]pub enum ActionSuccess {
Ok = 1,
Async = 2,
NonBlocking = 3,
InProgress = 5,
Done = 7,
}
Variants§
Implementations§
source§impl ActionSuccess
impl ActionSuccess
pub fn from_value(value: impl Into<i32>) -> Option<Self>
Trait Implementations§
source§impl Clone for ActionSuccess
impl Clone for ActionSuccess
source§fn clone(&self) -> ActionSuccess
fn clone(&self) -> ActionSuccess
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ActionSuccess
impl Debug for ActionSuccess
source§impl Hash for ActionSuccess
impl Hash for ActionSuccess
source§impl IntoGlib for ActionSuccess
impl IntoGlib for ActionSuccess
source§impl PartialEq for ActionSuccess
impl PartialEq for ActionSuccess
source§fn eq(&self, other: &ActionSuccess) -> bool
fn eq(&self, other: &ActionSuccess) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFromGlib<i32> for ActionSuccess
impl TryFromGlib<i32> for ActionSuccess
type Error = ActionError
unsafe fn try_from_glib( val: GstValidateActionReturn, ) -> Result<ActionSuccess, ActionError>
impl Copy for ActionSuccess
impl Eq for ActionSuccess
impl StructuralPartialEq for ActionSuccess
Auto Trait Implementations§
impl Freeze for ActionSuccess
impl RefUnwindSafe for ActionSuccess
impl Send for ActionSuccess
impl Sync for ActionSuccess
impl Unpin for ActionSuccess
impl UnwindSafe for ActionSuccess
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> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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 more