pub struct LwprintfObj<T: CustomOutPut> { /* private fields */ }Expand description
LwPRINTF object with custom output handler.
Implementations§
Source§impl<T: CustomOutPut> LwprintfObj<T>
impl<T: CustomOutPut> LwprintfObj<T>
Sourcepub fn as_mut_ptr(&mut self) -> *mut lwprintf_s
pub fn as_mut_ptr(&mut self) -> *mut lwprintf_s
Get a mutable reference to the underlying lwprintf_t object.
This allows calling sys functions directly with the object.
Trait Implementations§
Source§impl<T: CustomOutPut> Default for LwprintfObj<T>
impl<T: CustomOutPut> Default for LwprintfObj<T>
Auto Trait Implementations§
impl<T> Freeze for LwprintfObj<T>
impl<T> RefUnwindSafe for LwprintfObj<T>where
T: RefUnwindSafe,
impl<T> !Send for LwprintfObj<T>
impl<T> !Sync for LwprintfObj<T>
impl<T> Unpin for LwprintfObj<T>where
T: Unpin,
impl<T> UnwindSafe for LwprintfObj<T>where
T: UnwindSafe,
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