Struct viewy::components::ComplexText
source · [−]Fields
content: Stringstyle: TextStyleImplementations
Trait Implementations
sourceimpl Clone for ComplexText
impl Clone for ComplexText
sourcefn clone(&self) -> ComplexText
fn clone(&self) -> ComplexText
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ComplexText
impl Debug for ComplexText
sourceimpl DefaultModifiers<ComplexText> for ComplexText
impl DefaultModifiers<ComplexText> for ComplexText
fn color(&mut self, color: &str) -> Self
fn add_class(&mut self, class_name: &str) -> Self
fn remove_class(&mut self, class_name: &str) -> Self
fn position(&mut self, position: Position) -> Self
fn padding(&mut self, padding: Vec<i32>) -> Self
fn padding_top(&mut self, value: i32) -> Self
fn padding_bottom(&mut self, value: i32) -> Self
fn padding_left(&mut self, value: i32) -> Self
fn padding_right(&mut self, value: i32) -> Self
fn margin(&mut self, margin: Vec<i32>) -> Self
fn margin_top(&mut self, value: i32) -> Self
fn margin_bottom(&mut self, value: i32) -> Self
fn margin_left(&mut self, value: i32) -> Self
fn margin_right(&mut self, value: i32) -> Self
fn width(&mut self, value: &str) -> Self
fn height(&mut self, value: &str) -> Self
fn min_width(&mut self, value: &str) -> Self
fn min_height(&mut self, value: &str) -> Self
fn max_width(&mut self, value: &str) -> Self
fn max_height(&mut self, value: &str) -> Self
fn sticky_to_top(&mut self, top: i32) -> Self
fn sticky_to_bottom(&mut self, bottom: i32) -> Self
fn align_self(&mut self, value: &str) -> Self
fn justify_self(&mut self, value: &str) -> Self
fn background_color(&mut self, color: &str) -> Self
fn display(&mut self, display: &str) -> Self
fn background_image(&mut self, url: &str) -> Self
fn background(&mut self, value: &str) -> Self
fn border(&mut self, value: &str) -> Self
fn border_left(&mut self, value: &str) -> Self
fn border_right(&mut self, value: &str) -> Self
fn border_bottom(&mut self, value: &str) -> Self
fn border_top(&mut self, value: &str) -> Self
fn tag(&mut self, tag_name: &str) -> Self
fn set_attr(&mut self, name: &str, value: &str) -> Self
fn unset_attr(&mut self, name: &str) -> Self
fn grid_area(&mut self, name: &str) -> Self
fn grid_column(&mut self, column: &str) -> Self
fn grid_row(&mut self, row: &str) -> Self
fn flex_grow(&mut self, value: i32) -> Self
fn line_height(&mut self, value: &str) -> Self
fn border_radius(&mut self, value: &str) -> Self
fn text_align(&mut self, value: &str) -> Self
fn overflow(&mut self, overflow: Overflow) -> Self
fn popover(&mut self, popover: Popover) -> Self
fn popup(&mut self, popup: Popup) -> Self
sourceimpl Renderable for ComplexText
impl Renderable for ComplexText
Auto Trait Implementations
impl !RefUnwindSafe for ComplexText
impl Send for ComplexText
impl Sync for ComplexText
impl Unpin for ComplexText
impl !UnwindSafe for ComplexText
Blanket Implementations
sourceimpl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
T: FloatComponent,
Swp: WhitePoint,
Dwp: WhitePoint,
D: AdaptFrom<S, Swp, Dwp, T>,
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
T: FloatComponent,
Swp: WhitePoint,
Dwp: WhitePoint,
D: AdaptFrom<S, Swp, Dwp, T>,
sourcefn adapt_into_using<M>(self, method: M) -> D where
M: TransformMatrix<Swp, Dwp, T>,
fn adapt_into_using<M>(self, method: M) -> D where
M: TransformMatrix<Swp, Dwp, T>,
Convert the source color to the destination color using the specified method Read more
sourcefn adapt_into(self) -> D
fn adapt_into(self) -> D
Convert the source color to the destination color using the bradford method by default Read more
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T, U> IntoColor<U> for T where
U: FromColor<T>,
impl<T, U> IntoColor<U> for T where
U: FromColor<T>,
sourcefn into_color(self) -> U
fn into_color(self) -> U
Convert into T with values clamped to the color defined bounds Read more
sourceimpl<T, U> IntoColorUnclamped<U> for T where
U: FromColorUnclamped<T>,
impl<T, U> IntoColorUnclamped<U> for T where
U: FromColorUnclamped<T>,
sourcefn into_color_unclamped(self) -> U
fn into_color_unclamped(self) -> U
Convert into T. The resulting color might be invalid in its color space Read more
sourceimpl<T, U> TryIntoColor<U> for T where
U: TryFromColor<T>,
impl<T, U> TryIntoColor<U> for T where
U: TryFromColor<T>,
sourcefn try_into_color(self) -> Result<U, OutOfBounds<U>>
fn try_into_color(self) -> Result<U, OutOfBounds<U>>
Convert into T, returning ok if the color is inside of its defined
range, otherwise an OutOfBounds error is returned which contains
the unclamped color. Read more