pub struct BoxCharacter(/* private fields */);Implementations§
Source§impl BoxCharacter
impl BoxCharacter
pub fn is_vertical_bar(self) -> bool
pub fn is_horizontal_bar(self) -> bool
pub fn is_bar(self) -> bool
pub fn rotate_clockwise(self) -> Self
pub fn top(self) -> Width
pub fn right(self) -> Width
pub fn bottom(self) -> Width
pub fn left(self) -> Width
pub fn new(top: Width, right: Width, bottom: Width, left: Width) -> Self
pub fn with_top(self) -> Self
pub fn with_right(self) -> Self
pub fn with_bottom(self) -> Self
pub fn with_left(self) -> Self
pub const fn mirror_vertical(self) -> Self
pub const fn mirror_horizontal(self) -> Self
pub const fn char(&self) -> char
pub const fn char_round(&self) -> char
pub const fn char_dotted_w2(&self) -> char
pub const fn char_dotted_w3(&self) -> char
pub const fn char_dotted_w4(&self) -> char
pub fn decode_char(v: char) -> Option<Self>
pub const fn from_str(v: &[u8]) -> Self
Trait Implementations§
Source§impl Clone for BoxCharacter
impl Clone for BoxCharacter
Source§fn clone(&self) -> BoxCharacter
fn clone(&self) -> BoxCharacter
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 BoxCharacter
impl Debug for BoxCharacter
Source§impl Display for BoxCharacter
impl Display for BoxCharacter
Source§impl PartialEq for BoxCharacter
impl PartialEq for BoxCharacter
impl Copy for BoxCharacter
impl Eq for BoxCharacter
impl StructuralPartialEq for BoxCharacter
Auto Trait Implementations§
impl Freeze for BoxCharacter
impl RefUnwindSafe for BoxCharacter
impl Send for BoxCharacter
impl Sync for BoxCharacter
impl Unpin for BoxCharacter
impl UnwindSafe for BoxCharacter
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