pub struct OutputCode(/* private fields */);Expand description
A status code the represents the outcome of a Rust-side function, intended to be sent back to GameMaker.
Implementations§
Source§impl OutputCode
impl OutputCode
Sourcepub const SUCCESS: OutputCode
pub const SUCCESS: OutputCode
Represents an operation that executed as intended.
Sourcepub const FAILURE: OutputCode
pub const FAILURE: OutputCode
Represents an operation that failed to execute as intended.
Trait Implementations§
Source§impl Clone for OutputCode
impl Clone for OutputCode
Source§fn clone(&self) -> OutputCode
fn clone(&self) -> OutputCode
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 moreimpl Copy for OutputCode
Source§impl Debug for OutputCode
impl Debug for OutputCode
Source§impl<T, E> From<Result<T, E>> for OutputCode
impl<T, E> From<Result<T, E>> for OutputCode
Source§impl PartialEq for OutputCode
impl PartialEq for OutputCode
impl StructuralPartialEq for OutputCode
Auto Trait Implementations§
impl Freeze for OutputCode
impl RefUnwindSafe for OutputCode
impl Send for OutputCode
impl Sync for OutputCode
impl Unpin for OutputCode
impl UnsafeUnpin for OutputCode
impl UnwindSafe for OutputCode
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