pub struct EncodableSource { /* private fields */ }Expand description
Source file tripler that can be encoded into a CDF file
Implementations§
Trait Implementations§
Source§impl Clone for EncodableSource
impl Clone for EncodableSource
Source§fn clone(&self) -> EncodableSource
fn clone(&self) -> EncodableSource
Returns a duplicate 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 EncodableSource
impl Debug for EncodableSource
Source§impl Default for EncodableSource
impl Default for EncodableSource
Source§fn default() -> EncodableSource
fn default() -> EncodableSource
Returns the “default value” for a type. Read more
Source§impl Element for EncodableSource
impl Element for EncodableSource
Source§impl EncodableElement for EncodableSource
impl EncodableElement for EncodableSource
Source§fn to_buffer(&self, ctx: &mut EncoderContext, buf: &mut [u8])
fn to_buffer(&self, ctx: &mut EncoderContext, buf: &mut [u8])
Write the type into the buffer. Read more
Source§fn to_vec(&self, ctx: &mut EncoderContext) -> Vec<u8> ⓘ
fn to_vec(&self, ctx: &mut EncoderContext) -> Vec<u8> ⓘ
Serialize the object into a bytes array.
Source§impl Hash for EncodableSource
impl Hash for EncodableSource
Source§impl Ord for EncodableSource
impl Ord for EncodableSource
Source§fn cmp(&self, other: &EncodableSource) -> Ordering
fn cmp(&self, other: &EncodableSource) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for EncodableSource
impl PartialEq for EncodableSource
Source§impl PartialOrd for EncodableSource
impl PartialOrd for EncodableSource
impl Eq for EncodableSource
impl StructuralPartialEq for EncodableSource
Auto Trait Implementations§
impl Freeze for EncodableSource
impl RefUnwindSafe for EncodableSource
impl Send for EncodableSource
impl Sync for EncodableSource
impl Unpin for EncodableSource
impl UnwindSafe for EncodableSource
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