pub enum OutputData {
String(String),
SignedInteger(i64),
UnsignedInteger(u64),
Float(f32),
Double(f64),
Byte(u8),
Array(Vec<u8>),
Class(Class),
}Expand description
Rust structures containing data stored in the typedstream
Variants§
String(String)
Text data, denoted in the stream by Type::String
SignedInteger(i64)
Signed integer types are coerced into this container, denoted in the stream by Type::SignedInt
UnsignedInteger(u64)
Unsigned integer types are coerced into this container, denoted in the stream by Type::UnsignedInt
Float(f32)
Floating point numbers, denoted in the stream by Type::Float
Double(f64)
Double precision floats, denoted in the stream by Type::Double
Byte(u8)
Bytes whose type is not known, denoted in the stream by Type::Unknown
Array(Vec<u8>)
Arbitrary collection of bytes in an array, denoted in the stream by Type::Array
Class(Class)
A found class, in order of inheritance, used by Archivable::Class
Trait Implementations§
Source§impl Clone for OutputData
impl Clone for OutputData
Source§fn clone(&self) -> OutputData
fn clone(&self) -> OutputData
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 OutputData
impl Debug for OutputData
Source§impl PartialEq for OutputData
impl PartialEq for OutputData
impl StructuralPartialEq for OutputData
Auto Trait Implementations§
impl Freeze for OutputData
impl RefUnwindSafe for OutputData
impl Send for OutputData
impl Sync for OutputData
impl Unpin for OutputData
impl UnwindSafe for OutputData
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