pub struct TextSection {
pub statements: Vec<Statement>,
pub entrypoint: String,
}Fields§
§statements: Vec<Statement>§entrypoint: StringTrait Implementations§
Source§impl Clone for TextSection
impl Clone for TextSection
Source§fn clone(&self) -> TextSection
fn clone(&self) -> TextSection
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 TextSection
impl Debug for TextSection
Source§impl Default for TextSection
impl Default for TextSection
Source§impl Display for TextSection
impl Display for TextSection
Source§impl PartialEq for TextSection
impl PartialEq for TextSection
Source§fn eq(&self, other: &TextSection) -> bool
fn eq(&self, other: &TextSection) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TextSection
impl Serialize for TextSection
impl StructuralPartialEq for TextSection
Auto Trait Implementations§
impl Freeze for TextSection
impl RefUnwindSafe for TextSection
impl Send for TextSection
impl Sync for TextSection
impl Unpin for TextSection
impl UnsafeUnpin for TextSection
impl UnwindSafe for TextSection
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