Enum kailua_types::ty::Nil
[−]
[src]
pub enum Nil { Silent, Noisy, Absent, }
Different kinds of nil
.
Variants
Silent
nil
is assumed to be present, but the assumption is not checked.
Noisy
nil
is assumed to be present, and the assumption gets checked
(e.g. integer?
doesn't support arithmetic operations).
Absent
nil
is assumed to be absent.
Methods
impl Nil
[src]
fn with_nil(&self) -> Nil
fn without_nil(&self) -> Nil
fn union(&self, other: Nil) -> Nil
fn is_sub(&self, other: Nil) -> bool
fn is_eq(&self, other: Nil) -> bool
Trait Implementations
impl Copy for Nil
[src]
impl Clone for Nil
[src]
fn clone(&self) -> Nil
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for Nil
[src]
fn eq(&self, __arg_0: &Nil) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.