Struct xyzio::Atom
[−]
[src]
pub struct Atom { pub element: String, pub x: f32, pub y: f32, pub z: f32, }
Fields
element: String
x: f32
y: f32
z: f32
Methods
impl Atom
[src]
Trait Implementations
impl Debug for Atom
[src]
impl PartialEq for Atom
[src]
fn eq(&self, __arg_0: &Atom) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Atom) -> bool
This method tests for !=
.
impl Clone for Atom
[src]
fn clone(&self) -> Atom
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 FromStr for Atom
[src]
type Err = Error
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Self>
Parses a string s
to return a value of this type. Read more