#[repr(C, packed(1))]pub struct SerialWriteBufferParams {
pub buf: GuestPhysAddr,
pub len: usize,
}
Expand description
Parameters for a SerialWriteBuffer
hypercall.
Fields§
§buf: GuestPhysAddr
§len: usize
Trait Implementations§
Source§impl Clone for SerialWriteBufferParams
impl Clone for SerialWriteBufferParams
Source§fn clone(&self) -> SerialWriteBufferParams
fn clone(&self) -> SerialWriteBufferParams
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SerialWriteBufferParams
impl Debug for SerialWriteBufferParams
impl Copy for SerialWriteBufferParams
Auto Trait Implementations§
impl Freeze for SerialWriteBufferParams
impl RefUnwindSafe for SerialWriteBufferParams
impl Send for SerialWriteBufferParams
impl Sync for SerialWriteBufferParams
impl Unpin for SerialWriteBufferParams
impl UnwindSafe for SerialWriteBufferParams
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