Struct mond::Reference
[−]
[src]
pub struct Reference(_);
Type of Lua references generated through reference
and unreference
.
Methods
impl Reference
[src]
fn is_nil_ref(self) -> bool
[src]
Returns true
if this reference is equal to REFNIL
.
fn is_no_ref(self) -> bool
[src]
Returns true
if this reference is equal to NOREF
.
fn value(self) -> c_int
[src]
Convenience function that returns the value of this reference.
Trait Implementations
impl Clone for Reference
[src]
fn clone(&self) -> Reference
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for Reference
[src]
impl Debug for Reference
[src]
impl PartialEq for Reference
[src]
fn eq(&self, __arg_0: &Reference) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Reference) -> bool
[src]
This method tests for !=
.