pub struct CommandQueue { /* private fields */ }Implementations§
Source§impl CommandQueue
impl CommandQueue
pub const fn new() -> Self
pub fn submit(&mut self, command: CommandLine)
pub fn submit_line(&mut self, line: &str) -> bool
pub fn drain(&mut self) -> Drain<'_, CommandLine>
Trait Implementations§
Source§impl Debug for CommandQueue
impl Debug for CommandQueue
Source§impl Default for CommandQueue
impl Default for CommandQueue
Source§fn default() -> CommandQueue
fn default() -> CommandQueue
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CommandQueue
impl RefUnwindSafe for CommandQueue
impl Send for CommandQueue
impl Sync for CommandQueue
impl Unpin for CommandQueue
impl UnsafeUnpin for CommandQueue
impl UnwindSafe for CommandQueue
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