[][src]Struct tinf::cap::UserDef

pub struct UserDef(_);

A name of a user-defined capability.

Implementations

impl UserDef[src]

pub fn named<T: AsRef<str>>(name: T) -> UserDef[src]

Creates a UserDef from a string.

pub fn name(&self) -> &str[src]

The string form of this name.

Trait Implementations

impl Clone for UserDef[src]

impl Debug for UserDef[src]

impl PartialEq<UserDef> for UserDef[src]

impl StructuralPartialEq for UserDef[src]

Auto Trait Implementations

impl RefUnwindSafe for UserDef

impl Send for UserDef

impl Sync for UserDef

impl Unpin for UserDef

impl UnwindSafe for UserDef

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.