pub struct SysHost<'a> {
pub sys: &'a System,
pub surf: usize,
pub ray: Vec<RayVals>,
pub raye: f64,
pub rayv: f64,
pub opdc: f64,
}Expand description
マクロから系を読む口
Fields§
§sys: &'a System§surf: usizeソルブのある面
ray: Vec<RayVals>光線の値(面ごと)。OpticStudio と同じく、RAYTRACE で通らなかった面は前の光線の値が残る(初めは 0)
raye: f64最後の RAYTRACE の RAYE・RAYV・OPDC
rayv: f64§opdc: f64Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for SysHost<'a>
impl<'a> !UnwindSafe for SysHost<'a>
impl<'a> Freeze for SysHost<'a>
impl<'a> Send for SysHost<'a>
impl<'a> Sync for SysHost<'a>
impl<'a> Unpin for SysHost<'a>
impl<'a> UnsafeUnpin for SysHost<'a>
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
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