pub struct ControllerFile {
pub cartridge: String,
pub controller: String,
pub path: PathBuf,
pub extends: bool,
pub declarations: Vec<Declaration>,
}Fields§
§cartridge: String§controller: StringThe file stem.
path: PathBuf§extends: boolFalse when the file never calls server.extend(module.superModule),
which cuts the chain: nothing to its right is loaded at all.
declarations: Vec<Declaration>Trait Implementations§
Source§impl Clone for ControllerFile
impl Clone for ControllerFile
Source§fn clone(&self) -> ControllerFile
fn clone(&self) -> ControllerFile
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 moreAuto Trait Implementations§
impl Freeze for ControllerFile
impl RefUnwindSafe for ControllerFile
impl Send for ControllerFile
impl Sync for ControllerFile
impl Unpin for ControllerFile
impl UnsafeUnpin for ControllerFile
impl UnwindSafe for ControllerFile
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