[−][src]Struct spglib::spacegroup::Spacegroup
Container for a spacegroup's properties
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.
Implementations
impl Spacegroup
[src]
pub fn from_hall_number(hall_number: i32) -> Spacegroup
[src]
Returns a spacegroup initialized by hall number
Example
Get the spacegroup for a BCC cell (hall number 529).
use spglib::spacegroup::Spacegroup; let group = Spacegroup::from_hall_number(529); assert_eq!("Im-3m", group.international_short);
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]
impl TryFrom<SpglibSpacegroupType> for Spacegroup
[src]
type Error = SpglibError
The type returned in the event of a conversion error.
fn try_from(value: SpglibSpacegroupType) -> Result<Self, Self::Error>
[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>,