#[repr(u8)]pub enum ScatterDir {
Unknown = 0,
Forward = 1,
Side = 2,
Backward = 3,
}Expand description
Scattering direction (bits 16-17)
Based on scattering angle relative to incident direction:
Forward: 0 to 30degSide: 30deg to 150degBackward: 150deg to 180degUnknown: No direction constraint
Variants§
Trait Implementations§
Source§impl Clone for ScatterDir
impl Clone for ScatterDir
Source§fn clone(&self) -> ScatterDir
fn clone(&self) -> ScatterDir
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ScatterDir
impl Debug for ScatterDir
Source§impl From<ScatterDir> for u32
impl From<ScatterDir> for u32
Source§fn from(data: ScatterDir) -> u32
fn from(data: ScatterDir) -> u32
Converts to this type from the input type.
Source§impl From<ScatterDir> for u8
impl From<ScatterDir> for u8
Source§fn from(enum_value: ScatterDir) -> Self
fn from(enum_value: ScatterDir) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ScatterDir
impl PartialEq for ScatterDir
Source§impl RawField for ScatterDir
impl RawField for ScatterDir
Source§impl TryFrom<u32> for ScatterDir
impl TryFrom<u32> for ScatterDir
Source§impl TryFrom<u8> for ScatterDir
impl TryFrom<u8> for ScatterDir
Source§impl TryFromPrimitive for ScatterDir
impl TryFromPrimitive for ScatterDir
impl Copy for ScatterDir
impl Eq for ScatterDir
impl StructuralPartialEq for ScatterDir
Auto Trait Implementations§
impl Freeze for ScatterDir
impl RefUnwindSafe for ScatterDir
impl Send for ScatterDir
impl Sync for ScatterDir
impl Unpin for ScatterDir
impl UnsafeUnpin for ScatterDir
impl UnwindSafe for ScatterDir
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more