pub struct ImageBlockBuilder(/* private fields */);Expand description
Builder for ImageBlock.
Implementations§
Source§impl ImageBlockBuilder
impl ImageBlockBuilder
pub fn cache_control(self, value: impl Into<CacheControl>) -> Self
pub fn rest(self, value: Rest) -> Self
Sourcepub fn build(self) -> ImageBlock
pub fn build(self) -> ImageBlock
Return the completed wire value.
Auto Trait Implementations§
impl Freeze for ImageBlockBuilder
impl RefUnwindSafe for ImageBlockBuilder
impl Send for ImageBlockBuilder
impl Sync for ImageBlockBuilder
impl Unpin for ImageBlockBuilder
impl UnsafeUnpin for ImageBlockBuilder
impl UnwindSafe for ImageBlockBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more