pub struct LabelConstraintSpec {
pub label: String,
pub value: i32,
pub components: Vec<usize>,
}Expand description
Label-based boundary constraint specification for section construction.
Fields§
§label: StringLabel name.
value: i32Label value.
components: Vec<usize>Component indices constrained when label matches.
Implementations§
Trait Implementations§
Source§impl Clone for LabelConstraintSpec
impl Clone for LabelConstraintSpec
Source§fn clone(&self) -> LabelConstraintSpec
fn clone(&self) -> LabelConstraintSpec
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 LabelConstraintSpec
impl Debug for LabelConstraintSpec
impl Eq for LabelConstraintSpec
Source§impl PartialEq for LabelConstraintSpec
impl PartialEq for LabelConstraintSpec
impl StructuralPartialEq for LabelConstraintSpec
Auto Trait Implementations§
impl Freeze for LabelConstraintSpec
impl RefUnwindSafe for LabelConstraintSpec
impl Send for LabelConstraintSpec
impl Sync for LabelConstraintSpec
impl Unpin for LabelConstraintSpec
impl UnsafeUnpin for LabelConstraintSpec
impl UnwindSafe for LabelConstraintSpec
Blanket Implementations§
Source§impl<T> AccumulatePathExt for T
impl<T> AccumulatePathExt for T
fn accumulate_path<O, I>(path: I) -> Owhere
O: Orientation,
I: IntoIterator<Item = O>,
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