pub struct SemaphoreType(/* private fields */);Expand description
Implementations§
Source§impl SemaphoreType
impl SemaphoreType
pub const BINARY: SemaphoreType
pub const TIMELINE: SemaphoreType
pub const fn from_raw(value: i32) -> SemaphoreType
pub const fn as_raw(self) -> i32
Trait Implementations§
Source§impl Clone for SemaphoreType
impl Clone for SemaphoreType
Source§fn clone(&self) -> SemaphoreType
fn clone(&self) -> SemaphoreType
Returns a duplicate 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 SemaphoreType
impl Debug for SemaphoreType
Source§impl Default for SemaphoreType
impl Default for SemaphoreType
Source§fn default() -> SemaphoreType
fn default() -> SemaphoreType
Returns the “default value” for a type. Read more
Source§impl Display for SemaphoreType
impl Display for SemaphoreType
Source§impl Error for SemaphoreType
impl Error for SemaphoreType
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl Hash for SemaphoreType
impl Hash for SemaphoreType
Source§impl Ord for SemaphoreType
impl Ord for SemaphoreType
Source§fn cmp(&self, other: &SemaphoreType) -> Ordering
fn cmp(&self, other: &SemaphoreType) -> Ordering
1.21.0 · Source§fn 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
Source§impl PartialEq for SemaphoreType
impl PartialEq for SemaphoreType
Source§impl PartialOrd for SemaphoreType
impl PartialOrd for SemaphoreType
impl Copy for SemaphoreType
impl Eq for SemaphoreType
impl StructuralPartialEq for SemaphoreType
Auto Trait Implementations§
impl Freeze for SemaphoreType
impl RefUnwindSafe for SemaphoreType
impl Send for SemaphoreType
impl Sync for SemaphoreType
impl Unpin for SemaphoreType
impl UnsafeUnpin for SemaphoreType
impl UnwindSafe for SemaphoreType
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