Enum rmp_serde::decode::Reference [] [src]

pub enum Reference<'b, 'c, T: ?Sized + 'static> {
    Borrowed(&'b T),
    Copied(&'c T),
}

Variants

Trait Implementations

impl<'b, 'c, T: Clone + ?Sized + 'static> Clone for Reference<'b, 'c, T>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'b, 'c, T: Copy + ?Sized + 'static> Copy for Reference<'b, 'c, T>
[src]

impl<'b, 'c, T: Debug + ?Sized + 'static> Debug for Reference<'b, 'c, T>
[src]

[src]

Formats the value using the given formatter.

impl<'b, 'c, T: PartialEq + ?Sized + 'static> PartialEq for Reference<'b, 'c, T>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.