pub struct RaySel {
pub fields: Option<Pick>,
pub waves: Option<Pick>,
pub fan: Option<Fan>,
pub rays: Option<usize>,
pub first: Option<usize>,
pub last: Option<usize>,
pub unfold: bool,
}Expand description
描く光線の選び方
Fields§
§fields: Option<Pick>視野(None で全視野)
waves: Option<Pick>波長(None で主波長だけ)
fan: Option<Fan>光線の並び(None で 3D は円周、xz 面は x の扇、ほかは y の扇)
rays: Option<usize>光線の本数(None で円周は 12、ほかは 7)
first: Option<usize>§last: Option<usize>§unfold: bool光路に沿って展開する(2D だけ)
Implementations§
Trait Implementations§
impl StructuralPartialEq for RaySel
Auto Trait Implementations§
impl Freeze for RaySel
impl RefUnwindSafe for RaySel
impl Send for RaySel
impl Sync for RaySel
impl Unpin for RaySel
impl UnsafeUnpin for RaySel
impl UnwindSafe for RaySel
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more