Struct gio::InputMessage
source · pub struct InputMessage<'m> { /* private fields */ }
Implementations§
source§impl<'m> InputMessage<'m>
impl<'m> InputMessage<'m>
pub fn new( address: Option<&'m mut Option<SocketAddress>>, vectors: &'m mut [InputVector<'m>], control_messages: Option<&'m mut SocketControlMessages>, ) -> Self
pub fn vectors(&mut self) -> &'m mut [InputVector<'m>]
pub const fn flags(&self) -> i32
pub const fn bytes_received(&self) -> usize
Trait Implementations§
Auto Trait Implementations§
impl<'m> Freeze for InputMessage<'m>
impl<'m> RefUnwindSafe for InputMessage<'m>
impl<'m> !Send for InputMessage<'m>
impl<'m> !Sync for InputMessage<'m>
impl<'m> Unpin for InputMessage<'m>
impl<'m> !UnwindSafe for InputMessage<'m>
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