pub struct UrlBuilder { /* private fields */ }Expand description
Builder for constructing Bing thumbnail URLs without making requests.
Implementations§
Trait Implementations§
Source§impl Clone for UrlBuilder
impl Clone for UrlBuilder
Source§fn clone(&self) -> UrlBuilder
fn clone(&self) -> UrlBuilder
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UrlBuilder
impl Debug for UrlBuilder
Source§impl ThumbnailParams for UrlBuilder
impl ThumbnailParams for UrlBuilder
fn query(&self) -> &ThumbnailQuery
fn query_mut(&mut self) -> &mut ThumbnailQuery
fn pid(self, pid: impl Into<String>) -> Self
fn pid_option(self, pid: Option<impl Into<String>>) -> Self
fn width(self, width: u32) -> Self
fn width_option(self, width: Option<u32>) -> Self
fn height(self, height: u32) -> Self
fn height_option(self, height: Option<u32>) -> Self
Source§fn no_padding(self) -> Self
fn no_padding(self) -> Self
Prevent white padding when the requested size exceeds the original.
fn padding_option(self, padding: Option<u32>) -> Self
fn crop(self, mode: CropMode) -> Self
fn crop_option(self, mode: Option<CropMode>) -> Self
Auto Trait Implementations§
impl Freeze for UrlBuilder
impl RefUnwindSafe for UrlBuilder
impl Send for UrlBuilder
impl Sync for UrlBuilder
impl Unpin for UrlBuilder
impl UnsafeUnpin for UrlBuilder
impl UnwindSafe for UrlBuilder
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