pub struct ConsoleInfoSender { /* private fields */ }Expand description
コンソールへ出力するInfoSenderの実装(出力用に別にスレッドを持ってはおらず呼び出し時に直接出力する)
Implementations§
Source§impl ConsoleInfoSender
impl ConsoleInfoSender
Sourcepub fn new(silent: bool) -> ConsoleInfoSender
pub fn new(silent: bool) -> ConsoleInfoSender
Trait Implementations§
Source§impl Clone for ConsoleInfoSender
impl Clone for ConsoleInfoSender
Source§fn clone(&self) -> ConsoleInfoSender
fn clone(&self) -> ConsoleInfoSender
Returns a duplicate 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 InfoSender for ConsoleInfoSender
impl InfoSender for ConsoleInfoSender
Source§fn send(
&mut self,
commands: Vec<UsiInfoSubCommand>,
) -> Result<(), InfoSendError>
fn send( &mut self, commands: Vec<UsiInfoSubCommand>, ) -> Result<(), InfoSendError>
infoコマンドを出力する Read more
Source§fn send_immediate(
&mut self,
commands: Vec<UsiInfoSubCommand>,
) -> Result<(), InfoSendError>
fn send_immediate( &mut self, commands: Vec<UsiInfoSubCommand>, ) -> Result<(), InfoSendError>
infoコマンドを遅延なしで出力する Read more
fn flush(&mut self) -> Result<(), InfoSendError>
Auto Trait Implementations§
impl Freeze for ConsoleInfoSender
impl RefUnwindSafe for ConsoleInfoSender
impl Send for ConsoleInfoSender
impl Sync for ConsoleInfoSender
impl Unpin for ConsoleInfoSender
impl UnsafeUnpin for ConsoleInfoSender
impl UnwindSafe for ConsoleInfoSender
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