pub struct Line<'a> {
pub id: &'a LineId,
pub speaker: &'a str,
pub text: &'a str,
pub direction: Option<&'a str>,
}Expand description
One line that shows text, as Scene::lines lists it.
Fields§
§id: &'a LineIdIts id.
speaker: &'a strWho says it: a character id, NARRATION_SPEAKER or
REPLY_SPEAKER.
text: &'a strIts text as written (tokens unexpanded).
direction: Option<&'a str>How it is said, for a voice or an actor; a reply has none.
Trait Implementations§
impl<'a> Copy for Line<'a>
impl<'a> Eq for Line<'a>
impl<'a> StructuralPartialEq for Line<'a>
Auto Trait Implementations§
impl<'a> Freeze for Line<'a>
impl<'a> RefUnwindSafe for Line<'a>
impl<'a> Send for Line<'a>
impl<'a> Sync for Line<'a>
impl<'a> Unpin for Line<'a>
impl<'a> UnsafeUnpin for Line<'a>
impl<'a> UnwindSafe for Line<'a>
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