pub struct Lines {
pub steps: Vec<u32>,
pub blocks: Vec<Vec<PartLines>>,
}Expand description
Where the steps of one list of steps (a scene’s, a reaction’s, one part
of an @if block) are in the file.
Fields§
§steps: Vec<u32>1-based line where each step starts, in the order of the steps.
blocks: Vec<Vec<PartLines>>The parts of each block among the steps (a Step::Choice or a
Step::If), in the order of the blocks: a choice’s options; an
@if block’s two parts, the steps played with the character there
and those played without.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Lines
impl<'de> Deserialize<'de> for Lines
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 Eq for Lines
impl StructuralPartialEq for Lines
Auto Trait Implementations§
impl Freeze for Lines
impl RefUnwindSafe for Lines
impl Send for Lines
impl Sync for Lines
impl Unpin for Lines
impl UnsafeUnpin for Lines
impl UnwindSafe for Lines
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