Skip to main content

PlatformAdaptiveIcons

Struct PlatformAdaptiveIcons 

Source
pub struct PlatformAdaptiveIcons(/* private fields */);
Expand description

A set of platform-adaptive Material Design icons.

Use Icons::adaptive to access a static instance of this class.

Implementations§

Source§

impl PlatformAdaptiveIcons

Source

pub fn arrow_back(&self, app: &App) -> IconData

Platform-adaptive icon for arrow_back — material icon named “arrow back” and arrow_back_ios — material icon named “arrow back ios”.;

Source

pub fn arrow_back_outlined(&self, app: &App) -> IconData

Platform-adaptive icon for arrow_back — material icon named “arrow back” (outlined) and arrow_back_ios — material icon named “arrow back ios” (outlined).;

Source

pub fn arrow_back_rounded(&self, app: &App) -> IconData

Platform-adaptive icon for arrow_back — material icon named “arrow back” (round) and arrow_back_ios — material icon named “arrow back ios” (round).;

Source

pub fn arrow_back_sharp(&self, app: &App) -> IconData

Platform-adaptive icon for arrow_back — material icon named “arrow back” (sharp) and arrow_back_ios — material icon named “arrow back ios” (sharp).;

Source

pub fn arrow_forward(&self, app: &App) -> IconData

Platform-adaptive icon for arrow_forward — material icon named “arrow forward” and arrow_forward_ios — material icon named “arrow forward ios”.;

Source

pub fn arrow_forward_outlined(&self, app: &App) -> IconData

Platform-adaptive icon for arrow_forward — material icon named “arrow forward” (outlined) and arrow_forward_ios — material icon named “arrow forward ios” (outlined).;

Source

pub fn arrow_forward_rounded(&self, app: &App) -> IconData

Platform-adaptive icon for arrow_forward — material icon named “arrow forward” (round) and arrow_forward_ios — material icon named “arrow forward ios” (round).;

Source

pub fn arrow_forward_sharp(&self, app: &App) -> IconData

Platform-adaptive icon for arrow_forward — material icon named “arrow forward” (sharp) and arrow_forward_ios — material icon named “arrow forward ios” (sharp).;

Source

pub fn flip_camera(&self, app: &App) -> IconData

Platform-adaptive icon for flip_camera_android — material icon named “flip camera android” and flip_camera_ios — material icon named “flip camera ios”.;

Source

pub fn flip_camera_outlined(&self, app: &App) -> IconData

Platform-adaptive icon for flip_camera_android — material icon named “flip camera android” (outlined) and flip_camera_ios — material icon named “flip camera ios” (outlined).;

Source

pub fn flip_camera_rounded(&self, app: &App) -> IconData

Platform-adaptive icon for flip_camera_android — material icon named “flip camera android” (round) and flip_camera_ios — material icon named “flip camera ios” (round).;

Source

pub fn flip_camera_sharp(&self, app: &App) -> IconData

Platform-adaptive icon for flip_camera_android — material icon named “flip camera android” (sharp) and flip_camera_ios — material icon named “flip camera ios” (sharp).;

Source

pub fn more(&self, app: &App) -> IconData

Platform-adaptive icon for more_vert — material icon named “more vert” and more_horiz — material icon named “more horiz”.;

Source

pub fn more_outlined(&self, app: &App) -> IconData

Platform-adaptive icon for more_vert — material icon named “more vert” (outlined) and more_horiz — material icon named “more horiz” (outlined).;

Source

pub fn more_rounded(&self, app: &App) -> IconData

Platform-adaptive icon for more_vert — material icon named “more vert” (round) and more_horiz — material icon named “more horiz” (round).;

Source

pub fn more_sharp(&self, app: &App) -> IconData

Platform-adaptive icon for more_vert — material icon named “more vert” (sharp) and more_horiz — material icon named “more horiz” (sharp).;

Source

pub fn share(&self, app: &App) -> IconData

Platform-adaptive icon for share — material icon named “share” and ios_share — material icon named “ios share”.;

Source

pub fn share_outlined(&self, app: &App) -> IconData

Platform-adaptive icon for share — material icon named “share” (outlined) and ios_share — material icon named “ios share” (outlined).;

Source

pub fn share_rounded(&self, app: &App) -> IconData

Platform-adaptive icon for share — material icon named “share” (round) and ios_share — material icon named “ios share” (round).;

Source

pub fn share_sharp(&self, app: &App) -> IconData

Platform-adaptive icon for share — material icon named “share” (sharp) and ios_share — material icon named “ios share” (sharp).;

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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> Downcast<T> for T

Source§

fn downcast(&self) -> &T

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

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> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

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

Source§

type Error = !

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

fn try_from(value: U) -> Result<T, !>

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> Upcast<T> for T

Source§

fn upcast(&self) -> Option<&T>

Source§

impl<T> WasmNotSend for T
where T: Send,

Source§

impl<T> WasmNotSendSync for T

Source§

impl<T> WasmNotSync for T
where T: Sync,