Struct keepass_ng::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 copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
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 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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl TryFrom<usize> for IconId

§

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.
source§

impl Copy for IconId

source§

impl Eq for IconId

source§

impl StructuralPartialEq for IconId

Auto Trait Implementations§

§

impl Freeze for IconId

§

impl RefUnwindSafe for IconId

§

impl Send for IconId

§

impl Sync for IconId

§

impl Unpin for IconId

§

impl UnwindSafe for IconId

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> AsAny for T
where T: Any,

source§

fn as_any(&self) -> &(dyn Any + 'static)

source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

source§

fn type_name(&self) -> &'static str

Gets the type name of self
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: Copy,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

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

source§

default unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> Downcast for T
where T: AsAny + ?Sized,

source§

fn is<T>(&self) -> bool
where T: AsAny,

Returns true if the boxed type is the same as T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: AsAny,

Forward to the method defined on the type Any.
source§

fn downcast_mut<T>(&mut self) -> Option<&mut T>
where T: AsAny,

Forward to the method defined on the type Any.
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

§

type Output = T

Should always be Self
source§

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

§

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§

default 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>,

§

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>,

§

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.