pub struct ImageConfigBuilder(/* private fields */);Expand description
Builder for ImageConfig.
Implementations§
Source§impl ImageConfigBuilder
impl ImageConfigBuilder
pub fn aspect_ratio(self, value: impl Into<String>) -> Self
pub fn image_size(self, value: impl Into<String>) -> Self
pub fn rest(self, value: Rest) -> Self
Sourcepub fn build(self) -> ImageConfig
pub fn build(self) -> ImageConfig
Return the completed wire value.
Auto Trait Implementations§
impl Freeze for ImageConfigBuilder
impl RefUnwindSafe for ImageConfigBuilder
impl Send for ImageConfigBuilder
impl Sync for ImageConfigBuilder
impl Unpin for ImageConfigBuilder
impl UnsafeUnpin for ImageConfigBuilder
impl UnwindSafe for ImageConfigBuilder
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