Struct geo_aid::script::figure::SegmentItem
source · pub struct SegmentItem {
pub p_id: VarIndex,
pub q_id: VarIndex,
pub label: MathString,
pub style: Style,
}
Fields§
§p_id: VarIndex
§q_id: VarIndex
§label: MathString
§style: Style
Trait Implementations§
source§impl Clone for SegmentItem
impl Clone for SegmentItem
source§fn clone(&self) -> SegmentItem
fn clone(&self) -> SegmentItem
Returns a copy 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 SegmentItem
impl Debug for SegmentItem
source§impl From<SegmentItem> for Item
impl From<SegmentItem> for Item
source§fn from(value: SegmentItem) -> Self
fn from(value: SegmentItem) -> Self
Converts to this type from the input type.
source§impl Reconstruct for SegmentItem
impl Reconstruct for SegmentItem
fn reconstruct(self, ctx: &mut ReconstructCtx<'_>) -> Self
Auto Trait Implementations§
impl Freeze for SegmentItem
impl RefUnwindSafe for SegmentItem
impl Send for SegmentItem
impl Sync for SegmentItem
impl Unpin for SegmentItem
impl UnwindSafe for SegmentItem
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneWithNode for Twhere
T: Clone,
impl<T> CloneWithNode for Twhere
T: Clone,
fn clone_with_node(&mut self) -> T
fn clone_without_node(&self) -> T
source§impl<T> Convert for T
impl<T> Convert for T
source§fn convert<U>(self, context: &CompileContext) -> Expr<U>where
U: ConvertFrom<T>,
fn convert<U>(self, context: &CompileContext) -> Expr<U>where
U: ConvertFrom<T>,
Errors Read more
source§fn can_convert<U>(&self) -> boolwhere
U: ConvertFrom<T>,
fn can_convert<U>(&self) -> boolwhere
U: ConvertFrom<T>,
Errors Read more