pub struct RailState { /* private fields */ }
Implementations
sourceimpl RailState
impl RailState
pub fn new(context: Context) -> RailState
pub fn update_stack(self, stack: Stack) -> RailState
pub fn deeper(self) -> RailState
pub fn in_main(&self) -> bool
pub fn higher(self) -> RailState
pub fn enter_string(self) -> RailState
pub fn in_string(&self) -> bool
pub fn append_string(self, s: &str) -> RailState
pub fn append_string_exact(self, s: &str) -> RailState
pub fn exit_string(self) -> RailState
pub fn enter_comment(self) -> RailState
pub fn in_comment(&self) -> bool
pub fn exit_comment(self) -> RailState
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for RailState
impl !Send for RailState
impl !Sync for RailState
impl Unpin for RailState
impl !UnwindSafe for RailState
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more