Struct CanvasMiscEndpoint

Source
pub struct CanvasMiscEndpoint(/* private fields */);

Implementations§

Source§

impl<'a> CanvasMiscEndpoint

Source

pub async fn bisexual<T: ToString>(&self, avatar_url: T) -> Result<Vec<u8>>

Add a bisexual flag border to your avatar

Source

pub async fn blur<T: ToString>(&self, avatar_url: T) -> Result<Vec<u8>>

Blur your avatar

Source

pub async fn circle<T: ToString>(&self, avatar_url: T) -> Result<Vec<u8>>

Crop your avatar to a circle

Source

pub async fn color_viewer<T: TryInto<Hex>>(&self, hex: T) -> Result<Vec<u8>>

Generate a square image of a hex color

Source

pub async fn heart<T: ToString>(&self, avatar_url: T) -> Result<Vec<u8>>

Crop your avatar to a heart shape

Source

pub async fn hex<T: ToString>(&self, rgb: T) -> Result<Hex>

Convert RGB to hex

Source

pub async fn horny<T: ToString>(&self, avatar_url: T) -> Result<Vec<u8>>

Horny card

Source

pub async fn stupid<T: ToString>(&self, avatar_url: T) -> Result<Vec<u8>>

You are so stupid

Source

pub async fn jpg<T: ToString>(&self, avatar_url: T) -> Result<Vec<u8>>

Turn your avatar to a JPG

Source

pub async fn lesbian<T: ToString>(&self, avatar_url: T) -> Result<Vec<u8>>

Add a lesbian flag border to your avatar

Source

pub async fn lgbt<T: ToString>(&self, avatar_url: T) -> Result<Vec<u8>>

Add an LGBT flag border to your avatar

Source

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

Source

pub async fn lolice<T: ToString>(&self, avatar_url: T) -> Result<Vec<u8>>

Loli police

Source

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

Source

pub async fn no_bitches<T: ToString>(&self, no: T) -> Result<Vec<u8>>

No description?

Source

pub async fn non_binary<T: ToString>(&self, avatar_url: T) -> Result<Vec<u8>>

Add a non-binary flag border to your avatar

Source

pub async fn oogway<T: ToString>(&self, quote: T) -> Result<Vec<u8>>

Share Master Oogway’s wisdom

Source

pub async fn oogway_2<T: ToString>(&self, quote: T) -> Result<Vec<u8>>

Share Master Oogway’s wisdom (different image)

Source

pub async fn pansexual<T: ToString>(&self, avatar_url: T) -> Result<Vec<u8>>

Add a pansexual flag border to your avatar

Source

pub async fn pixelate<T: ToString>(&self, avatar_url: T) -> Result<Vec<u8>>

Pixelate your avatar

Source

pub async fn rgb<T: TryInto<Hex, Error = Error>>(&self, hex: T) -> Result<RGB>

Convert hex to RGB

Source

pub async fn simp<T: ToString>(&self, avatar_url: T) -> Result<Vec<u8>>

Generate a simp card

Source

pub async fn spin<T: ToString>(&self, avatar_url: T) -> Result<Vec<u8>>

Generate a spinning avatar

Source

pub async fn tonikawa<T: ToString>(&self, avatar_url: T) -> Result<Vec<u8>>

Put an image on a DVD disk (scene from Tonikawa)

Source

pub async fn transgender<T: ToString>(&self, avatar_url: T) -> Result<Vec<u8>>

Add a transgender flag border to your avatar

Source

pub async fn tweet(&self, tweet: Tweet) -> Result<Vec<u8>>

Generate a fake tweet

Source

pub async fn youtube_comment<T: ToString, U: ToString, V: ToString>( &self, username: T, avatar_url: U, comment: V, ) -> Result<Vec<u8>>

Generate a fake youtube comment

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> ErasedDestructor for T
where T: 'static,

Source§

impl<T> MaybeSendSync for T