Struct screeps::objects::Mineral
[−]
[src]
pub struct Mineral(_);
Trait Implementations
impl Clone for Mineral
[src]
fn clone(&self) -> Mineral
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl AsRef<Reference> for Mineral
[src]
impl From<Mineral> for Reference
[src]
impl TryFrom<Value> for Mineral
[src]
type Error = <Value as TryInto<Reference>>::Error
The type returned in the event of a conversion error.
fn try_from(v: Value) -> Result<Mineral, Self::Error>
[src]
Performs the conversion.