Struct rss::ImageBuilder
source · [−]pub struct ImageBuilder { /* private fields */ }
Expand description
Builder for Image
.
Implementations
sourceimpl ImageBuilder
impl ImageBuilder
sourcepub fn title<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn title<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
A description of the image. This is used in the HTML alt
attribute.
sourcepub fn link<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn link<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
The URL that the image links to.
sourcepub fn width<VALUE: Into<Option<String>>>(&mut self, value: VALUE) -> &mut Self
pub fn width<VALUE: Into<Option<String>>>(&mut self, value: VALUE) -> &mut Self
The width of the image.
sourceimpl ImageBuilder
impl ImageBuilder
Trait Implementations
sourceimpl Clone for ImageBuilder
impl Clone for ImageBuilder
sourcefn clone(&self) -> ImageBuilder
fn clone(&self) -> ImageBuilder
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
Auto Trait Implementations
impl RefUnwindSafe for ImageBuilder
impl Send for ImageBuilder
impl Sync for ImageBuilder
impl Unpin for ImageBuilder
impl UnwindSafe for ImageBuilder
Blanket Implementations
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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more