[−][src]Struct billboard::BorderComponents
BorderComponents
defines the String
s to use when dislaying
the corners and sides of a Billboard
.
Fields
top_left: String
String
to display as the top left corner of a Billboard
border.
This should be one visual character wide.
horizontal: String
String
to repeat as the top and bottom of a Billboard
border.
top_right: String
String
to display as the top right corner of a Billboard
border.
This should be one visual character wide.
vertical: String
String
to repeat as the left and right of a Billboard
border.
bottom_right: String
String
to display as the bottom right corner of a Billboard
border.
This should be one visual character wide.
bottom_left: String
String
to display as the bottom left corner of a Billboard
border.
This should be one visual character wide.
Methods
impl BorderComponents
[src]
pub fn new(style: BorderStyle) -> BorderComponents
[src]
Creates new BorderComponents
from a BorderStyle
.
Trait Implementations
impl Clone for BorderComponents
[src]
fn clone(&self) -> BorderComponents
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for BorderComponents
[src]
impl PartialEq<BorderComponents> for BorderComponents
[src]
fn eq(&self, other: &BorderComponents) -> bool
[src]
fn ne(&self, other: &BorderComponents) -> bool
[src]
impl StructuralPartialEq for BorderComponents
[src]
Auto Trait Implementations
impl RefUnwindSafe for BorderComponents
impl Send for BorderComponents
impl Sync for BorderComponents
impl Unpin for BorderComponents
impl UnwindSafe for BorderComponents
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,