pub struct LeafOutput {
pub id: &'static str,
pub name: &'static str,
pub family: Family,
pub family_label: &'static str,
pub profile: &'static [DetItem],
pub schools: &'static [SchoolItem],
pub effective_school: String,
pub chart: Value,
}Expand description
一片叶的带元数据输出(承接层展示用:id / 显示名 / 家族 / 盘)。
Fields§
§id: &'static str稳定标识。
name: &'static str显示名。
family: Family计算家族。
family_label: &'static str家族中文标签。
profile: &'static [DetItem]确定性谱(DET/STO/UND 边界)。
schools: &'static [SchoolItem]本叶支持的流派(空 = 无流派分歧)。
effective_school: String当前实际生效的流派 id(从 q.schools 取;若未指定,落到 default;无流派则空串)。
chart: Value排盘结果(统一 JSON)。
Trait Implementations§
Source§impl Clone for LeafOutput
impl Clone for LeafOutput
Source§fn clone(&self) -> LeafOutput
fn clone(&self) -> LeafOutput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LeafOutput
impl Debug for LeafOutput
Auto Trait Implementations§
impl Freeze for LeafOutput
impl RefUnwindSafe for LeafOutput
impl Send for LeafOutput
impl Sync for LeafOutput
impl Unpin for LeafOutput
impl UnsafeUnpin for LeafOutput
impl UnwindSafe for LeafOutput
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