pub struct Compilation {
pub ruleset: Option<Ruleset>,
pub issues: Vec<Issue>,
}Expand description
What compile found.
Fields§
§ruleset: Option<Ruleset>The ruleset, when there is no error.
issues: Vec<Issue>Implementations§
Source§impl Compilation
impl Compilation
pub fn has_errors(&self) -> bool
Sourcepub fn error_message(&self) -> String
pub fn error_message(&self) -> String
The official emulator’s message for a ruleset that does not compile: every issue, one per line.
Trait Implementations§
Source§impl Clone for Compilation
impl Clone for Compilation
Auto Trait Implementations§
impl Freeze for Compilation
impl RefUnwindSafe for Compilation
impl Send for Compilation
impl Sync for Compilation
impl Unpin for Compilation
impl UnsafeUnpin for Compilation
impl UnwindSafe for Compilation
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