pub struct MascotFrames { /* private fields */ }Implementations§
Source§impl MascotFrames
impl MascotFrames
pub fn new(frame: &'static [&'static str]) -> Self
pub fn blizz() -> Self
pub fn lines(&self) -> &'static [&'static str]
pub fn size(&self) -> Size
pub fn centered_origin(&self, terminal_size: Size) -> Position
pub fn queue_at<W: Write>(&self, writer: &mut W, origin: Position) -> Result<()>
pub fn queue_centered<W: Write>( &self, writer: &mut W, terminal_size: Size, ) -> Result<()>
Trait Implementations§
Source§impl Clone for MascotFrames
impl Clone for MascotFrames
Source§fn clone(&self) -> MascotFrames
fn clone(&self) -> MascotFrames
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 moreSource§impl Debug for MascotFrames
impl Debug for MascotFrames
Source§impl Default for MascotFrames
impl Default for MascotFrames
impl Copy for MascotFrames
Auto Trait Implementations§
impl Freeze for MascotFrames
impl RefUnwindSafe for MascotFrames
impl Send for MascotFrames
impl Sync for MascotFrames
impl Unpin for MascotFrames
impl UnsafeUnpin for MascotFrames
impl UnwindSafe for MascotFrames
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