[][src]Struct gauge_sys::ffi::RawUnit

#[repr(transparent)]pub struct RawUnit(_);

A raw unit identifier for Gauge API FFI

Implementations

impl RawUnit[src]

pub unsafe fn from_units_enum_str(name: &str) -> Self[src]

Requests an identifer to use when requesting data in a specific unit

Safety

The name string must be null-terminated.

Trait Implementations

impl Clone for RawUnit[src]

impl Copy for RawUnit[src]

impl Debug for RawUnit[src]

impl Eq for RawUnit[src]

impl Hash for RawUnit[src]

impl PartialEq<RawUnit> for RawUnit[src]

impl StructuralEq for RawUnit[src]

impl StructuralPartialEq for RawUnit[src]

Auto Trait Implementations

impl RefUnwindSafe for RawUnit

impl Send for RawUnit

impl Sync for RawUnit

impl Unpin for RawUnit

impl UnwindSafe for RawUnit

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.