Enum passerine::common::data::Data [−][src]
Built-in Passerine datatypes.
Variants
Data on the heap.
Real(f64)
Real Numbers, represented as double-precision floating points.
Integer(i64)
Integers, currently 64-bit.
Boolean(bool)
A boolean, like true or false.
String(String)
A UTF-8 encoded string.
Represents a function, ie.e some bytecode without a context.
Some bytecode with a context that can be run.
Kind(String)
Kind
is the base component of an unconstructed label
A Label is similar to a type, and wraps some data. in the future labels will have associated namespaces.
The empty Tuple
A non-empty Tuple.
Trait Implementations
impl Clone for Data
[src]
impl Debug for Data
[src]
fn fmt(&self, f: &mut Formatter<'_>) -> Result
[src]
Displays some Passerine Data following Rust conventions, with certain fields omitted.
impl Display for Data
[src]
fn fmt(&self, f: &mut Formatter<'_>) -> Result
[src]
Displays some Passerine Data in a pretty manner, as if it were printed to console.
impl Eq for Data
[src]
impl PartialEq<Data> for Data
[src]
impl StructuralPartialEq for Data
[src]
Auto Trait Implementations
impl !RefUnwindSafe for Data
impl !Send for Data
impl !Sync for Data
impl Unpin for Data
impl !UnwindSafe for Data
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,
pub fn borrow_mut(&mut self) -> &mut T
[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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,