[−][src]Struct termit_ui::graphics::Drawing
Fields
text: Stringscope: Windowstyle: StyleMethods
impl Drawing[src]
pub fn new() -> Drawing[src]
pub fn with_style(self, style: Style) -> Self[src]
pub fn append(
self,
text: impl Display
) -> Self[src]
self,
text: impl Display
) -> Self
pub fn with_text(
self,
text: impl Display
) -> Self[src]
self,
text: impl Display
) -> Self
pub fn with_pos(self, position: Point) -> Self[src]
pub fn scope(self, scope: Window) -> Self[src]
pub fn size(self, size: Point) -> Self[src]
pub fn left(self, left: u16) -> Self[src]
pub fn top(self, top: u16) -> Self[src]
pub fn width(self, width: u16) -> Self[src]
pub fn height(self, height: u16) -> Self[src]
pub fn fg(
self,
foreground: impl Into<Option<Color>>
) -> Self[src]
self,
foreground: impl Into<Option<Color>>
) -> Self
pub fn bg(
self,
background: impl Into<Option<Color>>
) -> Self[src]
self,
background: impl Into<Option<Color>>
) -> Self
pub fn lines<'a>(&'a self) -> DrawingLines<'a>[src]
ⓘImportant traits for DrawingSpots<'a>pub fn spots<'a>(&'a self) -> DrawingSpots<'a>[src]
ⓘImportant traits for DrawingSpots<'a>
pub fn actual_width(&self) -> X[src]
Trait Implementations
impl Eq for Drawing[src]
impl Clone for Drawing[src]
fn clone(&self) -> Drawing[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl PartialEq<Drawing> for Drawing[src]
impl Default for Drawing[src]
impl Hash for Drawing[src]
fn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher]. Read more
impl Debug for Drawing[src]
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
impl<T> From for T[src]
impl<T, U> TryFrom for T where
U: Into<T>, [src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from)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> Borrow for T where
T: ?Sized, [src]
T: ?Sized,
impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized, [src]
T: ?Sized,