[−][src]Struct unsegen::container::boxdrawing::LineCell
A single box character, initially empty.
Implementations
impl LineCell
[src]
pub fn empty() -> Self
[src]
Create an empty box drawing cell (i.e., a space character)
Add segments using set
.
pub fn to_grapheme_cluster(self) -> GraphemeCluster
[src]
Convert the cell to a grapheme cluster (always safe).
pub fn set(&mut self, segment: LineSegment, ltype: LineType) -> &mut Self
[src]
Set one of the four segments of the cell to the specified type.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for LineCell
impl Send for LineCell
impl Sync for LineCell
impl Unpin for LineCell
impl UnwindSafe for LineCell
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,
pub 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.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,