[−][src]Struct manaconf::Key
Implementations
impl Key
[src]
pub fn new(key: &str) -> &Key
[src]
Create a new key from a &str
pub fn components<'a>(&'a self) -> Components<'a>
[src]
Gets an iterator over the key's components
pub fn to_key_buf(&self) -> KeyBuf
[src]
Creates a KeyBuf
from the current Key
pub fn start_with<K: AsRef<Key>>(&self, prefix: K) -> bool
[src]
Determines if the current key starts with a given prefix
pub fn strip_prefix<K: AsRef<Key>>(&self, prefix: K) -> KeyBuf
[src]
Strips the given prefix
from the key and returns the modfied key as a
KeyBuf
pub fn _strip_prefix(&self, prefix: &Key) -> KeyBuf
[src]
pub fn extend_with_suffix<K: AsRef<Key>>(&self, suffix: K) -> KeyBuf
[src]
pub fn as_str(&self) -> &str
[src]
Gets a representation of the key as as a &str
pub fn to_string_with_seperator(&self, seperator: &str) -> String
[src]
Trait Implementations
impl AsRef<Key> for Key
[src]
impl AsRef<Key> for str
[src]
impl AsRef<Key> for KeyBuf
[src]
impl Borrow<Key> for KeyBuf
[src]
impl Debug for Key
[src]
impl Deref for Key
[src]
impl Eq for Key
[src]
impl Hash for Key
[src]
fn hash<H: Hasher>(&self, state: &mut H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,