pub struct Value {
pub repetitions: Vec<Vec<Vec<String>>>,
}Expand description
The value of one field: repetitions of components of subcomponents.
Build one with Value::text, Value::components or
Value::repetitions, or from a &str/String (a single text).
Fields§
§repetitions: Vec<Vec<Vec<String>>>repetitions[r][c][s] is subcomponent s+1 of component c+1 of
repetition r+1.
Implementations§
Source§impl Value
impl Value
Sourcepub fn components<I, S>(components: I) -> Value
pub fn components<I, S>(components: I) -> Value
One repetition with the given components, each a plain text.
Sourcepub fn repetitions<I, R, S>(reps: I) -> Value
pub fn repetitions<I, R, S>(reps: I) -> Value
Several repetitions, each given as its components.
Trait Implementations§
impl Eq for Value
impl StructuralPartialEq for Value
Auto Trait Implementations§
impl Freeze for Value
impl RefUnwindSafe for Value
impl Send for Value
impl Sync for Value
impl Unpin for Value
impl UnsafeUnpin for Value
impl UnwindSafe for Value
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