#[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