pub struct DocFile {
pub name: String,
pub lines: Vec<String>,
pub from_library: bool,
}Expand description
A source file, and its text.
Fields§
§name: StringThe file, as the build names it.
lines: Vec<String>Its lines.
from_library: boolIt is a library’s, not the game’s.
Trait Implementations§
Auto Trait Implementations§
impl Forget for DocFile
impl Freeze for DocFile
impl Move for DocFile
impl RefUnwindSafe for DocFile
impl Send for DocFilewhere
RawVecInner: Send,
impl Sync for DocFilewhere
RawVecInner: Sync,
impl Unpin for DocFile
impl UnsafeUnpin for DocFilewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for DocFilewhere
RawVecInner: UnwindSafe,
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