pub struct InfoQueue { /* private fields */ }Implementations§
Source§impl InfoQueue
impl InfoQueue
pub fn new( device: &Device, break_flags: Option<&[MessageSeverity]>, ) -> DxResult<Self>
pub fn get_messages(&self) -> DxResult<Vec<String>>
pub fn print_messages(&self) -> DxResult<()>
pub fn register_callback( &self, callback: unsafe extern "C" fn(i32, i32, i32, *const c_char, *mut c_void), filter_flags: MessageCallbackFlags, ) -> DxResult<()>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for InfoQueue
impl RefUnwindSafe for InfoQueue
impl !Send for InfoQueue
impl !Sync for InfoQueue
impl Unpin for InfoQueue
impl UnwindSafe for InfoQueue
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