pub struct IocraftHandle { /* private fields */ }
Implementations§
Source§impl IocraftHandle
impl IocraftHandle
pub fn append_line(&self, segments: Vec<IocraftSegment>)
pub fn inline(&self, segment: IocraftSegment)
pub fn replace_last(&self, count: usize, lines: Vec<Vec<IocraftSegment>>)
pub fn set_prompt(&self, prefix: String, style: IocraftTextStyle)
pub fn set_placeholder(&self, hint: Option<String>)
pub fn set_theme(&self, theme: IocraftTheme)
pub fn shutdown(&self)
Trait Implementations§
Source§impl Clone for IocraftHandle
impl Clone for IocraftHandle
Source§fn clone(&self) -> IocraftHandle
fn clone(&self) -> IocraftHandle
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 moreAuto Trait Implementations§
impl Freeze for IocraftHandle
impl RefUnwindSafe for IocraftHandle
impl Send for IocraftHandle
impl Sync for IocraftHandle
impl Unpin for IocraftHandle
impl UnwindSafe for IocraftHandle
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