pub struct LayoutReq {Show 15 fields
pub plane: View,
pub fields: Option<Pick>,
pub waves: Option<Pick>,
pub fan: Option<String>,
pub rays: Option<usize>,
pub first: Option<usize>,
pub last: Option<usize>,
pub unfold: bool,
pub color: Option<String>,
pub mech_detail: bool,
pub cfgs: Option<String>,
pub states: Option<String>,
pub beam_paths: Option<String>,
pub beams: Option<String>,
pub offset: Vec<f64>,
}Expand description
layout の params(光線の選び方・見る面・重ねる構成)。layout_export は LayoutExportReq
Fields§
§plane: View見る面(yz・xz・3d)
fields: Option<Pick>視野(None で全視野)
waves: Option<Pick>波長(None で主波長)
fan: Option<String>瞳の上の並べ方の名前(読めることは確かめてある)
rays: Option<usize>§first: Option<usize>§last: Option<usize>§unfold: bool折り返しを展開して描く
color: Option<String>光線の色分け(field・wave・cfg、小文字)
mech_detail: bool機構部品を取った STEP の詳しい形で描く
cfgs: Option<String>重ねる構成(.zmx の多重構成・プロジェクトの状態・BS の経路。カンマ区切りか “all”)
states: Option<String>§beam_paths: Option<String>§beams: Option<String>重ねる光束(名前のカンマ区切りか “all”)
offset: Vec<f64>構成 k をずらす量 [dx, dy, dz](空ならずらさない)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LayoutReq
impl<'de> Deserialize<'de> for LayoutReq
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for LayoutReq
Auto Trait Implementations§
impl Freeze for LayoutReq
impl RefUnwindSafe for LayoutReq
impl Send for LayoutReq
impl Sync for LayoutReq
impl Unpin for LayoutReq
impl UnsafeUnpin for LayoutReq
impl UnwindSafe for LayoutReq
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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