#[repr(C)]pub struct Layer { /* private fields */ }
Expand description
A layer object.
Implementations§
Source§impl Layer
impl Layer
Sourcepub fn add_payload(&mut self, payload: Payload)
pub fn add_payload(&mut self, payload: Payload)
Adds a payload to the Layer.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Layer
impl !RefUnwindSafe for Layer
impl !Sync for Layer
impl Unpin for Layer
impl !UnwindSafe for Layer
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