[−][src]Struct spglib::spacegroup::Spacegroup
The full description of a given spacegroup
Fields
number: i32
Space group number as defined in the International Tables for Crystallography
international_short: String
Abbreviated Hermann-Mauguin notation spacegroup symbol
international_full: String
Full Hermann-Mauguin notation spacegroup symbol
international: String
Full Hermann-Mauguin notation spacegroup symbol
schoenflies: String
Schoenflies notation spacegroup symbol
hall_symbol: String
Hall symbol
choice: String
Information on unique axis, settings, or cell choices
pointgroup_international: String
Full Hermann-Mauguin notation pointgroup symbol
pointgroup_schoenflies: String
Schoenflies notation pointgroup symbol
arithmetic_crystal_class_number: i32
Arithmetic notation crystal class number
arithmetic_crystal_class_symbol: String
Arithmetic notation crystal class symbol
Methods
impl Spacegroup
[src]
pub fn new(hall_number: i32) -> Spacegroup
[src]
Returns a Spacegroup initialized from a given hall number
Examples
Get the spacegroup for a BCC cell (hall number 529)
let group = Spacegroup::new(529); assert_eq!( group.international_short, "Im-3m" );
Trait Implementations
impl Clone for Spacegroup
[src]
fn clone(&self) -> Spacegroup
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for Spacegroup
[src]
Auto Trait Implementations
impl RefUnwindSafe for Spacegroup
impl Send for Spacegroup
impl Sync for Spacegroup
impl Unpin for Spacegroup
impl UnwindSafe for Spacegroup
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,