Struct smf::PropertyName [−][src]
pub struct PropertyName { /* fields omitted */ }
The group and property portions of a property name.
Property names typically have the form: group/property This object represents that entire object.
Implementations
impl PropertyName
[src]
impl PropertyName
[src]pub fn new<S1, S2>(
group: S1,
property: S2
) -> Result<PropertyName, PropertyParseError> where
S1: AsRef<str>,
S2: AsRef<str>,
[src]
pub fn new<S1, S2>(
group: S1,
property: S2
) -> Result<PropertyName, PropertyParseError> where
S1: AsRef<str>,
S2: AsRef<str>,
[src]Creates a new property name object, returning an error if it cannot be parsed.
Trait Implementations
impl Debug for PropertyName
[src]
impl Debug for PropertyName
[src]impl FromStr for PropertyName
[src]
impl FromStr for PropertyName
[src]impl PartialEq<PropertyName> for PropertyName
[src]
impl PartialEq<PropertyName> for PropertyName
[src]fn eq(&self, other: &PropertyName) -> bool
[src]
fn eq(&self, other: &PropertyName) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &PropertyName) -> bool
[src]
fn ne(&self, other: &PropertyName) -> bool
[src]This method tests for !=
.
impl ToString for PropertyName
[src]
impl ToString for PropertyName
[src]