Struct shrs::prompt_content_queue::PromptContentQueue
source · pub struct PromptContentQueue { /* private fields */ }Implementations§
source§impl PromptContentQueue
impl PromptContentQueue
pub fn new() -> PromptContentQueue
pub fn push(&mut self, value: PromptContent)
pub fn pop(&mut self) -> Option<PromptContent>
Auto Trait Implementations§
impl Freeze for PromptContentQueue
impl RefUnwindSafe for PromptContentQueue
impl Send for PromptContentQueue
impl Sync for PromptContentQueue
impl Unpin for PromptContentQueue
impl UnwindSafe for PromptContentQueue
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