Enum erg_compiler::context::RegistrationMode
source · pub enum RegistrationMode {
PreRegister,
Normal,
}
Expand description
Indicates the mode registered in the Context Preregister: subroutine or constant expression, can be forward referenced Normal: Cannot be forward referenced 環境に登録されているモードを表す Preregister: サブルーチンまたは定数式、前方参照できる Normal: 前方参照できない
Variants§
Trait Implementations§
source§impl Clone for RegistrationMode
impl Clone for RegistrationMode
source§fn clone(&self) -> RegistrationMode
fn clone(&self) -> RegistrationMode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RegistrationMode
impl Debug for RegistrationMode
source§impl PartialEq<RegistrationMode> for RegistrationMode
impl PartialEq<RegistrationMode> for RegistrationMode
source§fn eq(&self, other: &RegistrationMode) -> bool
fn eq(&self, other: &RegistrationMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for RegistrationMode
impl Eq for RegistrationMode
impl StructuralEq for RegistrationMode
impl StructuralPartialEq for RegistrationMode
Auto Trait Implementations§
impl RefUnwindSafe for RegistrationMode
impl Send for RegistrationMode
impl Sync for RegistrationMode
impl Unpin for RegistrationMode
impl UnwindSafe for RegistrationMode
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