Struct ratatui_block::border_symbols::StaticSymbolSet
source · pub struct StaticSymbolSet {Show 38 fields
pub similar_to: BorderType,
pub top_left_regular: &'static str,
pub top_left_angled: &'static str,
pub top_left_prolonged: &'static str,
pub top_left_crossed: &'static str,
pub top_regular: &'static str,
pub top_overlap: &'static str,
pub top_outward: &'static str,
pub top_inward: &'static str,
pub top_crossed: &'static str,
pub top_right_regular: &'static str,
pub top_right_angled: &'static str,
pub top_right_prolonged: &'static str,
pub top_right_crossed: &'static str,
pub bottom_left_regular: &'static str,
pub bottom_left_angled: &'static str,
pub bottom_left_prolonged: &'static str,
pub bottom_left_crossed: &'static str,
pub bottom_regular: &'static str,
pub bottom_overlap: &'static str,
pub bottom_outward: &'static str,
pub bottom_inward: &'static str,
pub bottom_crossed: &'static str,
pub bottom_right_regular: &'static str,
pub bottom_right_angled: &'static str,
pub bottom_right_prolonged: &'static str,
pub bottom_right_crossed: &'static str,
pub left_regular: &'static str,
pub left_overlap: &'static str,
pub left_outward: &'static str,
pub left_inward: &'static str,
pub left_crossed: &'static str,
pub right_regular: &'static str,
pub right_overlap: &'static str,
pub right_outward: &'static str,
pub right_inward: &'static str,
pub right_crossed: &'static str,
pub crossed: &'static str,
}Expand description
For manual borders.
This symbol set can have connections to other borders, but it’s not possible to have different connections depending on the other border.
Fields§
§similar_to: BorderTypeWhen connecting to other borders, how does this one behave like?
top_left_regular: &'static str§top_left_angled: &'static str§top_left_prolonged: &'static str§top_left_crossed: &'static str§top_regular: &'static str§top_overlap: &'static str§top_outward: &'static str§top_inward: &'static str§top_crossed: &'static str§top_right_regular: &'static str§top_right_angled: &'static str§top_right_prolonged: &'static str§top_right_crossed: &'static str§bottom_left_regular: &'static str§bottom_left_angled: &'static str§bottom_left_prolonged: &'static str§bottom_left_crossed: &'static str§bottom_regular: &'static str§bottom_overlap: &'static str§bottom_outward: &'static str§bottom_inward: &'static str§bottom_crossed: &'static str§bottom_right_regular: &'static str§bottom_right_angled: &'static str§bottom_right_prolonged: &'static str§bottom_right_crossed: &'static str§left_regular: &'static str§left_overlap: &'static str§left_outward: &'static str§left_inward: &'static str§left_crossed: &'static str§right_regular: &'static str§right_overlap: &'static str§right_outward: &'static str§right_inward: &'static str§right_crossed: &'static str§crossed: &'static strTrait Implementations§
source§impl BorderSymbolSet for StaticSymbolSet
impl BorderSymbolSet for StaticSymbolSet
source§fn border_type(&self) -> BorderType
fn border_type(&self) -> BorderType
Equivalent BorderType.
source§impl Clone for StaticSymbolSet
impl Clone for StaticSymbolSet
source§fn clone(&self) -> StaticSymbolSet
fn clone(&self) -> StaticSymbolSet
Returns a copy 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 StaticSymbolSet
impl Debug for StaticSymbolSet
source§impl PartialEq for StaticSymbolSet
impl PartialEq for StaticSymbolSet
impl Copy for StaticSymbolSet
impl Eq for StaticSymbolSet
impl StructuralPartialEq for StaticSymbolSet
Auto Trait Implementations§
impl Freeze for StaticSymbolSet
impl RefUnwindSafe for StaticSymbolSet
impl Send for StaticSymbolSet
impl Sync for StaticSymbolSet
impl Unpin for StaticSymbolSet
impl UnwindSafe for StaticSymbolSet
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more