Struct tinf::cap::UserDef
[−]
[src]
pub struct UserDef(_);
A name of a user-defined capability.
Methods
impl UserDef
[src]
fn named<T: AsRef<str>>(name: T) -> UserDef
Creates a UserDef
from a string.
fn name(&self) -> &str
The string form of this name.
Trait Implementations
impl PartialEq for UserDef
[src]
fn eq(&self, __arg_0: &UserDef) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &UserDef) -> bool
This method tests for !=
.
impl Clone for UserDef
[src]
fn clone(&self) -> UserDef
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more