[−][src]Enum oakc::tir::TirError
Variants
InvalidCopyTypeSignature(Identifier)
A copy method must have a very specific type signature: fn copy(self: &T) -> T This is so that the compiler can properly place copy and drop method calls for automatic memory management.
InvalidDropTypeSignature(Identifier)
A drop method must have a very specific type signature: fn drop(self: &T) -> void This is so that the compiler can properly place copy and drop method calls for automatic memory management.
StructureNotDefined(Identifier)
Does a structure use a member with an undefined type? If so, then this error is thrown.
The user may NOT call the .copy()
method explicitly
The compiler is only allowed to call this method.
This is to prevent memory leaks.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TirError
impl Send for TirError
impl Sync for TirError
impl Unpin for TirError
impl UnwindSafe for TirError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Colorize for T where
T: Display,
[src]
T: Display,
fn black(self) -> String
[src]
fn red(self) -> String
[src]
fn green(self) -> String
[src]
fn yellow(self) -> String
[src]
fn blue(self) -> String
[src]
fn magenta(self) -> String
[src]
fn cyan(self) -> String
[src]
fn white(self) -> String
[src]
fn bright_black(self) -> String
[src]
fn bright_red(self) -> String
[src]
fn bright_green(self) -> String
[src]
fn bright_yellow(self) -> String
[src]
fn bright_blue(self) -> String
[src]
fn bright_magenta(self) -> String
[src]
fn bright_cyan(self) -> String
[src]
fn bright_white(self) -> String
[src]
fn bold(self) -> String
[src]
fn underline(self) -> String
[src]
fn invert(self) -> String
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,