pub struct Meta {
pub start_index: usize,
pub end_index: usize,
pub script: Rc<String>,
}Fields§
§start_index: usize§end_index: usize§script: Rc<String>Implementations§
Source§impl Meta
impl Meta
pub fn to_formatted_string(&self, script: &str) -> String
pub fn to_formatted_code(&self) -> String
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Meta
impl RefUnwindSafe for Meta
impl !Send for Meta
impl !Sync for Meta
impl Unpin for Meta
impl UnwindSafe for Meta
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