[][src]Struct track::Apply

pub struct Apply;

Applies modified values to a type.

Methods

impl Apply[src]

pub fn apply_to<C: Clone + SerdeDiff + Debug + Send + Sync + 'static, S: SerializationStrategy>(
    component: &mut C,
    data: &[u8],
    strategy: S
) -> Result<(), ErrorKind>
[src]

Applies modified values to a type.

  • type: the type to which you want to apply the modified values.
  • data: the buffer with the modified type values.
  • strategy: the strategy used to deserialize the given data into the given type.

Auto Trait Implementations

impl RefUnwindSafe for Apply

impl Send for Apply

impl Sync for Apply

impl Unpin for Apply

impl UnwindSafe for Apply

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.