pub struct CanvasMiscEndpoint(/* private fields */);
Implementations§
Source§impl<'a> CanvasMiscEndpoint
impl<'a> CanvasMiscEndpoint
Sourcepub async fn bisexual<T: ToString>(&self, avatar_url: T) -> Result<Vec<u8>>
pub async fn bisexual<T: ToString>(&self, avatar_url: T) -> Result<Vec<u8>>
Add a bisexual flag border to your avatar
Sourcepub async fn circle<T: ToString>(&self, avatar_url: T) -> Result<Vec<u8>>
pub async fn circle<T: ToString>(&self, avatar_url: T) -> Result<Vec<u8>>
Crop your avatar to a circle
Sourcepub async fn color_viewer<T: TryInto<Hex>>(&self, hex: T) -> Result<Vec<u8>>
pub async fn color_viewer<T: TryInto<Hex>>(&self, hex: T) -> Result<Vec<u8>>
Generate a square image of a hex color
Sourcepub async fn heart<T: ToString>(&self, avatar_url: T) -> Result<Vec<u8>>
pub async fn heart<T: ToString>(&self, avatar_url: T) -> Result<Vec<u8>>
Crop your avatar to a heart shape
Sourcepub async fn jpg<T: ToString>(&self, avatar_url: T) -> Result<Vec<u8>>
pub async fn jpg<T: ToString>(&self, avatar_url: T) -> Result<Vec<u8>>
Turn your avatar to a JPG
Sourcepub async fn lesbian<T: ToString>(&self, avatar_url: T) -> Result<Vec<u8>>
pub async fn lesbian<T: ToString>(&self, avatar_url: T) -> Result<Vec<u8>>
Add a lesbian flag border to your avatar
Sourcepub async fn lgbt<T: ToString>(&self, avatar_url: T) -> Result<Vec<u8>>
pub async fn lgbt<T: ToString>(&self, avatar_url: T) -> Result<Vec<u8>>
Add an LGBT flag border to your avatar
Sourcepub async fn lied<T: ToString, U: ToString>(
&self,
username: T,
avatar_url: U,
) -> Result<Vec<u8>>
pub async fn lied<T: ToString, U: ToString>( &self, username: T, avatar_url: U, ) -> Result<Vec<u8>>
I lied to you as naturally as idk tbh
Sourcepub async fn namecard<T: ToString, U: ToString, V: ToString, W: ToString>(
&self,
username: T,
avatar_url: U,
birthday: V,
description: Option<W>,
) -> Result<Vec<u8>>
pub async fn namecard<T: ToString, U: ToString, V: ToString, W: ToString>( &self, username: T, avatar_url: U, birthday: V, description: Option<W>, ) -> Result<Vec<u8>>
Generate a fake Genshin Impact namecard
Sourcepub async fn non_binary<T: ToString>(&self, avatar_url: T) -> Result<Vec<u8>>
pub async fn non_binary<T: ToString>(&self, avatar_url: T) -> Result<Vec<u8>>
Add a non-binary flag border to your avatar
Sourcepub async fn oogway<T: ToString>(&self, quote: T) -> Result<Vec<u8>>
pub async fn oogway<T: ToString>(&self, quote: T) -> Result<Vec<u8>>
Share Master Oogway’s wisdom
Sourcepub async fn oogway_2<T: ToString>(&self, quote: T) -> Result<Vec<u8>>
pub async fn oogway_2<T: ToString>(&self, quote: T) -> Result<Vec<u8>>
Share Master Oogway’s wisdom (different image)
Sourcepub async fn pansexual<T: ToString>(&self, avatar_url: T) -> Result<Vec<u8>>
pub async fn pansexual<T: ToString>(&self, avatar_url: T) -> Result<Vec<u8>>
Add a pansexual flag border to your avatar
Sourcepub async fn pixelate<T: ToString>(&self, avatar_url: T) -> Result<Vec<u8>>
pub async fn pixelate<T: ToString>(&self, avatar_url: T) -> Result<Vec<u8>>
Pixelate your avatar
Sourcepub async fn rgb<T: TryInto<Hex, Error = Error>>(&self, hex: T) -> Result<RGB>
pub async fn rgb<T: TryInto<Hex, Error = Error>>(&self, hex: T) -> Result<RGB>
Convert hex to RGB
Sourcepub async fn spin<T: ToString>(&self, avatar_url: T) -> Result<Vec<u8>>
pub async fn spin<T: ToString>(&self, avatar_url: T) -> Result<Vec<u8>>
Generate a spinning avatar
Sourcepub async fn tonikawa<T: ToString>(&self, avatar_url: T) -> Result<Vec<u8>>
pub async fn tonikawa<T: ToString>(&self, avatar_url: T) -> Result<Vec<u8>>
Put an image on a DVD disk (scene from Tonikawa)
Auto Trait Implementations§
impl Freeze for CanvasMiscEndpoint
impl !RefUnwindSafe for CanvasMiscEndpoint
impl Send for CanvasMiscEndpoint
impl Sync for CanvasMiscEndpoint
impl Unpin for CanvasMiscEndpoint
impl !UnwindSafe for CanvasMiscEndpoint
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