pub struct TrailingComment { /* private fields */ }Expand description
The comment and blank lines that end a file without a setting after them.
Implementations§
Source§impl TrailingComment
impl TrailingComment
Sourcepub fn meta(&self) -> &GameSettingMeta
pub fn meta(&self) -> &GameSettingMeta
The file the lines end; its comment is the lines themselves.
Trait Implementations§
Source§impl Clone for TrailingComment
impl Clone for TrailingComment
Source§impl Debug for TrailingComment
impl Debug for TrailingComment
Auto Trait Implementations§
impl Freeze for TrailingComment
impl RefUnwindSafe for TrailingComment
impl Send for TrailingComment
impl Sync for TrailingComment
impl Unpin for TrailingComment
impl UnsafeUnpin for TrailingComment
impl UnwindSafe for TrailingComment
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