Skip to main content

IconId

Struct IconId 

Source
pub struct IconId(pub usize);
Expand description

IconId is a usize that represents an icon in the database The value is the index of the icon in the database’s icon list

Tuple Fields§

§0: usize

Implementations§

Source§

impl IconId

Source

pub const KEY: IconId

Source

pub const WORLD: IconId

Source

pub const WARNING: IconId

Source

pub const NETWORK_SERVER: IconId

Source

pub const MARKED_DIRECTORY: IconId

Source

pub const USER_COMMUNICATION: IconId

Source

pub const PARTS: IconId

Source

pub const NOTEPAD: IconId

Source

pub const WORLD_SOCKET: IconId

Source

pub const IDENTITY: IconId

Source

pub const PAPER_READY: IconId

Source

pub const DIGICAM: IconId

Source

pub const IRCOMMUNICATION: IconId

Source

pub const MULTI_KEYS: IconId

Source

pub const PLUG: IconId

Source

pub const PDA: IconId

Source

pub const BOOK_MARK: IconId

Source

pub const CD_ROM: IconId

Source

pub const MONITOR: IconId

Source

pub const EMAIL: IconId

Source

pub const CONFIG: IconId

Source

pub const CLIPBOARD_READY: IconId

Source

pub const PAPER_NEW: IconId

Source

pub const SCREENSHOT: IconId

Source

pub const THUNDER: IconId

Source

pub const RADIO: IconId

Source

pub const FLOPPY_DISK: IconId

Source

pub const FTP: IconId

Source

pub const FILM: IconId

Source

pub const SECURITY_TERMINAL: IconId

Source

pub const TERMINAL: IconId

Source

pub const PRINTER: IconId

Source

pub const GRID: IconId

Source

pub const CHECKER_BOARD: IconId

Source

pub const WRENCH: IconId

Source

pub const INTERNET: IconId

Source

pub const ZIP_FOLDER: IconId

Source

pub const PERCENT: IconId

Source

pub const WINDOWS_PC: IconId

Source

pub const CLOCK: IconId

Source

pub const SEARCH: IconId

Source

pub const LANDSCAPE: IconId

Source

pub const MEMORY: IconId

Source

pub const RECYCLE_BIN: IconId

Source

pub const CLIPBOARD: IconId

Source

pub const STOP: IconId

Source

pub const INFORMATION: IconId

Source

pub const FILING_CABINET: IconId

Source

pub const FOLDER: IconId

Source

pub const FOLDER_OPEN: IconId

Source

pub const DESKTOP: IconId

Source

pub const LOCK_OPEN: IconId

Source

pub const LOCKED: IconId

Source

pub const APPROVED: IconId

Source

pub const MARKER: IconId

Source

pub const PICTURE_DOC: IconId

Source

pub const CONTACT: IconId

Source

pub const EXCEL_SHEET: IconId

Source

pub const SECURIT_ACCOUNT: IconId

Source

pub const REPAIR: IconId

Source

pub const HOME: IconId

Source

pub const STAR: IconId

Source

pub const LINUX: IconId

Source

pub const ANDROID: IconId

Source

pub const APPLE: IconId

Source

pub const WIKIPEDIA: IconId

Source

pub const DOLLAR: IconId

Source

pub const CERTIFICATE: IconId

Source

pub const MOBILE_PHONE: IconId

Trait Implementations§

Source§

impl Clone for IconId

Source§

fn clone(&self) -> IconId

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for IconId

Source§

impl Debug for IconId

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for IconId

Source§

fn default() -> IconId

Returns the “default value” for a type. Read more
Source§

impl Display for IconId

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for IconId

Source§

impl From<IconId> for usize

Source§

fn from(icon_id: IconId) -> Self

Converts to this type from the input type.
Source§

impl Hash for IconId

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for IconId

Source§

fn eq(&self, other: &IconId) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl Serialize for IconId

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for IconId

Source§

impl TryFrom<usize> for IconId

Source§

type Error = Error

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

fn try_from(value: usize) -> Result<Self, Self::Error>

Performs the conversion.

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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
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> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
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.