pub enum BoundaryParam {
Bytes {
name: &'static str,
},
Nanos {
name: &'static str,
},
}Expand description
One argument of a boundary operation.
The set is deliberately tiny, because only primitives, pointers and lengths cross the boundary. Every platform binding can then be generated from the same list.
Variants§
Bytes
A readable byte range. It arrives as a direct byte buffer and a length on Android, as a pointer and a length on desktop.
Nanos
A 64-bit platform frame timestamp.
Implementations§
Trait Implementations§
Source§impl Clone for BoundaryParam
impl Clone for BoundaryParam
impl Copy for BoundaryParam
Source§impl Debug for BoundaryParam
impl Debug for BoundaryParam
impl Eq for BoundaryParam
Source§impl PartialEq for BoundaryParam
impl PartialEq for BoundaryParam
impl StructuralPartialEq for BoundaryParam
Auto Trait Implementations§
impl Freeze for BoundaryParam
impl RefUnwindSafe for BoundaryParam
impl Send for BoundaryParam
impl Sync for BoundaryParam
impl Unpin for BoundaryParam
impl UnsafeUnpin for BoundaryParam
impl UnwindSafe for BoundaryParam
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