[−][src]Struct savory_elements::view::icon::url::Url
Fields
id: Option<Id>
styler: Option<Styler<Self, Style>>
theme: Theme
url: Cow<'static, str>
Implementations
impl Url
[src]
pub fn id(self, value: impl Into<Id>) -> Self
[src]
pub fn and_styler(
self,
set_value: impl Fn(Styler<Self, Style>) -> Styler<Self, Style>
) -> Self where
Styler<Self, Style>: Default,
[src]
self,
set_value: impl Fn(Styler<Self, Style>) -> Styler<Self, Style>
) -> Self where
Styler<Self, Style>: Default,
pub fn and_theme(self, set_value: impl Fn(Theme) -> Theme) -> Self
[src]
pub fn url(self, value: impl Into<Cow<'static, str>>) -> Self
[src]
impl Url
[src]
Trait Implementations
impl Clone for Url
[src]
impl<T: ToString> From<T> for Url
[src]
impl<PMsg> From<Url> for Icon<PMsg>
[src]
impl Stylable for Url
[src]
type Style = Style
Style used by the view
type Styler = Styler<Self, Style>
Styler that generate Style according to the view data
fn styler(&self) -> Self::Styler
[src]
fn style(&self) -> Self::Style
[src]
impl<Msg> StyledView<Node<Msg>> for Url
[src]
fn styled_view(&self, style: Self::Style) -> Node<Msg>
[src]
impl<Msg> View<Node<Msg>> for Url
[src]
Auto Trait Implementations
impl !RefUnwindSafe for Url
impl !Send for Url
impl !Sync for Url
impl Unpin for Url
impl !UnwindSafe for Url
Blanket Implementations
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
D: AdaptFrom<S, Swp, Dwp, T>,
Dwp: WhitePoint,
Swp: WhitePoint,
T: Component + Float,
[src]
D: AdaptFrom<S, Swp, Dwp, T>,
Dwp: WhitePoint,
Swp: WhitePoint,
T: Component + Float,
fn adapt_into_using<M>(self, method: M) -> D where
M: TransformMatrix<Swp, Dwp, T>,
[src]
M: TransformMatrix<Swp, Dwp, T>,
fn adapt_into(self) -> D
[src]
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<!> for 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<'a, Msg, T> NodeModifier<'a, Msg> for T where
T: View<Node<Msg>>,
[src]
T: View<Node<Msg>>,
fn and_padding(&'a Self, impl Fn(Padding) -> Padding) -> Modifier<'a, Msg>
[src]
fn and_margin(&'a Self, impl Fn(Margin) -> Margin) -> Modifier<'a, Msg>
[src]
fn and_size(&'a Self, impl Fn(Size) -> Size) -> Modifier<'a, Msg>
[src]
fn and_font(&'a Self, impl Fn(Font) -> Font) -> Modifier<'a, Msg>
[src]
fn and_border(&'a Self, impl Fn(Border) -> Border) -> Modifier<'a, Msg>
[src]
fn and_position(&'a Self, impl Fn(Position) -> Position) -> Modifier<'a, Msg>
[src]
fn padding(&'a Self, impl Into<Padding>) -> Modifier<'a, Msg>
[src]
fn margin(&'a Self, impl Into<Margin>) -> Modifier<'a, Msg>
[src]
fn size(&'a Self, impl Into<Size>) -> Modifier<'a, Msg>
[src]
fn font(&'a Self, impl Into<Font>) -> Modifier<'a, Msg>
[src]
fn border(&'a Self, impl Into<Border>) -> Modifier<'a, Msg>
[src]
fn position(&'a Self, impl Into<Position>) -> Modifier<'a, Msg>
[src]
fn opacity(&'a Self, impl Into<Opacity>) -> Modifier<'a, Msg>
[src]
impl<T> Sealed<T> for T where
T: ?Sized,
T: ?Sized,
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,