Struct vlc::ModuleDescriptionRef
[−]
[src]
pub struct ModuleDescriptionRef<'a> { pub name: Option<Cow<'a, str>>, pub shortname: Option<Cow<'a, str>>, pub longname: Option<Cow<'a, str>>, pub help: Option<Cow<'a, str>>, }
Description of a module.
Fields
name: Option<Cow<'a, str>>
shortname: Option<Cow<'a, str>>
longname: Option<Cow<'a, str>>
help: Option<Cow<'a, str>>
Methods
impl<'a> ModuleDescriptionRef<'a>
[src]
fn into_owned(&'a self) -> ModuleDescription
Convert to owned strings.
Trait Implementations
impl<'a> Clone for ModuleDescriptionRef<'a>
[src]
fn clone(&self) -> ModuleDescriptionRef<'a>
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
impl<'a> PartialEq for ModuleDescriptionRef<'a>
[src]
fn eq(&self, __arg_0: &ModuleDescriptionRef<'a>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ModuleDescriptionRef<'a>) -> bool
This method tests for !=
.
impl<'a> Eq for ModuleDescriptionRef<'a>
[src]
impl<'a> Hash for ModuleDescriptionRef<'a>
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more