pub struct LargeWidget(/* private fields */);Expand description
URL Builder for large widgets.
Implementations§
Source§impl LargeWidget
impl LargeWidget
pub fn new() -> Self
Sourcepub fn build<T>(self, bot: T) -> Result<Url, ParseError>
pub fn build<T>(self, bot: T) -> Result<Url, ParseError>
Build the widget url.
pub fn top_color<T>(self, color: T) -> Selfwhere
T: ToString,
pub fn middle_color<T>(self, color: T) -> Selfwhere
T: ToString,
pub fn username_color<T>(self, color: T) -> Selfwhere
T: ToString,
pub fn certified_color<T>(self, color: T) -> Selfwhere
T: ToString,
pub fn data_color<T>(self, color: T) -> Selfwhere
T: ToString,
pub fn label_color<T>(self, color: T) -> Selfwhere
T: ToString,
pub fn hightlight_color<T>(self, color: T) -> Selfwhere
T: ToString,
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LargeWidget
impl RefUnwindSafe for LargeWidget
impl Send for LargeWidget
impl Sync for LargeWidget
impl Unpin for LargeWidget
impl UnwindSafe for LargeWidget
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