Trait planus::WriteAsOptionalUnion

source ·
pub trait WriteAsOptionalUnion<T: ?Sized> { }
Expand description

Trait used by generated code to serialize offsets to optional unions.

Implementations on Foreign Types§

source§

impl<'a, T1: ?Sized, T2: ?Sized + WriteAsOptionalUnion<T1>> WriteAsOptionalUnion<T1> for &'a T2

source§

impl<T1, T2: WriteAsOptionalUnion<T1>> WriteAsOptionalUnion<T1> for Option<T2>

source§

impl<T1: ?Sized, T2: ?Sized + WriteAsOptionalUnion<T1>> WriteAsOptionalUnion<T1> for Box<T2>

source§

impl<T: ?Sized> WriteAsOptionalUnion<T> for ()

Implementors§