Struct warmy::key::LogicalKey [−][src]
pub struct LogicalKey(_);
Logical or memory key.
Methods
impl LogicalKey
[src]
impl LogicalKey
pub fn new<S>(s: S) -> Self where
S: AsRef<str>,
[src]
pub fn new<S>(s: S) -> Self where
S: AsRef<str>,
Create a new LogicalKey
by prodiving a string of data.
pub fn as_str(&self) -> &str
[src]
pub fn as_str(&self) -> &str
Get the data the key holds.
Trait Implementations
impl Clone for LogicalKey
[src]
impl Clone for LogicalKey
fn clone(&self) -> LogicalKey
[src]
fn clone(&self) -> LogicalKey
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for LogicalKey
[src]
impl Debug for LogicalKey
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for LogicalKey
[src]
impl Eq for LogicalKey
impl Hash for LogicalKey
[src]
impl Hash for LogicalKey
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &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[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl PartialEq for LogicalKey
[src]
impl PartialEq for LogicalKey
fn eq(&self, other: &LogicalKey) -> bool
[src]
fn eq(&self, other: &LogicalKey) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &LogicalKey) -> bool
[src]
fn ne(&self, other: &LogicalKey) -> bool
This method tests for !=
.
impl From<LogicalKey> for DepKey
[src]
impl From<LogicalKey> for DepKey
fn from(key: LogicalKey) -> Self
[src]
fn from(key: LogicalKey) -> Self
Performs the conversion.
impl Key for LogicalKey
[src]
impl Key for LogicalKey
fn prepare_key(self, _: &Path) -> Self
[src]
fn prepare_key(self, _: &Path) -> Self
Prepare a key. Read more
Auto Trait Implementations
impl Send for LogicalKey
impl Send for LogicalKey
impl Sync for LogicalKey
impl Sync for LogicalKey