pub struct DocFunction {
pub name: String,
pub declaration: String,
pub comment: String,
pub place: DocPlace,
pub from_library: bool,
}Expand description
A function.
Fields§
§name: StringIts name.
declaration: StringThe line that declares it: its name and parameters.
comment: StringThe comment above it, without its comment marks.
place: DocPlaceWhere it is defined.
from_library: boolIt is defined in a library’s source, not the game’s.
Trait Implementations§
Source§impl Clone for DocFunction
impl Clone for DocFunction
Auto Trait Implementations§
impl Forget for DocFunction
impl Freeze for DocFunction
impl Move for DocFunction
impl RefUnwindSafe for DocFunction
impl Send for DocFunctionwhere
RawVecInner: Send,
impl Sync for DocFunctionwhere
RawVecInner: Sync,
impl Unpin for DocFunction
impl UnsafeUnpin for DocFunction
impl UnwindSafe for DocFunctionwhere
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