pub struct Chat { /* private fields */ }Expand description
Represents a whole dialogue, created with the chatter macro.
Implementations§
Source§impl Chat
impl Chat
pub fn get(&self, position: ChatPosition) -> Option<&ChatContent>
pub fn new(content: Vec<ChatContent>) -> Chat
Auto Trait Implementations§
impl Freeze for Chat
impl RefUnwindSafe for Chat
impl Send for Chat
impl Sync for Chat
impl Unpin for Chat
impl UnsafeUnpin for Chat
impl UnwindSafe for Chat
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