Enum kpdb::Icon
[−]
[src]
pub enum Icon { Key, World, Warning, Server, MarkedDirectory, UserCommunication, Parts, Notepad, WorldSocket, Identity, PaperReady, Digicam, IRCommunication, MultipleKeys, Energy, Scanner, WorldStar, CDRom, Monitor, Email, Configuration, ClipboardReady, PaperNew, Screen, EnergyCareful, Inbox, Disk, Drive, QuickTime, EncryptedTerminal, Console, Printer, Icons, Run, Settings, WorldComputer, Archive, Banking, Smb, Clock, EmailSearch, PaperFlag, Memory, RecycleBin, Note, Expired, Info, Package, Folder, FolderOpen, FolderPackage, LockOpen, PaperLocked, Checked, Pen, Thumbnail, Book, Listing, UserKey, Tool, Home, Star, Tux, Feather, Apple, Wikipedia, Money, Certificate, Phone, }
The icon of an entry or group.
Variants
Key
The key icon.
World
The world icon.
Warning
The warning icon.
Server
The server icon.
MarkedDirectory
The marked directory icon.
UserCommunication
The user communication icon.
Parts
The parts icon.
Notepad
The notepad icon.
WorldSocket
The world with socket icon.
Identity
The identity icon.
PaperReady
The paper ready icon.
Digicam
The digicam icon.
IRCommunication
The infrared communication icon.
MultipleKeys
The multiple keys icon.
Energy
The energy icon.
Scanner
The scanner icon.
WorldStar
The world with star icon.
CDRom
The CD-ROM icon.
Monitor
The monitor icon.
Email
The email icon.
Configuration
The configuration icon.
ClipboardReady
The clipboard ready icon.
PaperNew
The new paper icon.
Screen
The screen icon.
EnergyCareful
The energy careful icon.
Inbox
The inbox icon.
Disk
The disk icon.
Drive
The drive icon.
QuickTime
The QuickTime icon.
EncryptedTerminal
The encrypted terminal icon.
Console
The console icon.
Printer
The printer icon.
Icons
The icons icon.
Run
The run icon.
Settings
The settings icon.
WorldComputer
The world with a computer icon.
Archive
The archive icon.
Banking
The banking icon.
Smb
The SMB icon (Windows networking).
Clock
The clock icon.
EmailSearch
The email search icon.
PaperFlag
The paper with flag icon.
Memory
The memory icon.
RecycleBin
The recycle bin icon.
Note
The note icon.
Expired
The expired icon.
Info
The info icon.
Package
The package icon.
Folder
The folder icon.
FolderOpen
The open folder icon.
FolderPackage
The packaged folder icon.
LockOpen
The open lock icon.
PaperLocked
The paper with lock icon.
Checked
The checked icon.
Pen
The pen icon.
Thumbnail
The thumbnail icon.
Book
The book icon.
Listing
The listing icon.
UserKey
The user's key icon.
Tool
The tool icon.
Home
The home icon.
Star
The star icon.
Tux
The Tux logo.
Feather
The feather icon.
Apple
The Apple logo.
Wikipedia
The Wikipedia logo.
Money
The money icon.
Certificate
The certificate icon.
Phone
The phone icon.
Methods
impl Icon
[src]
fn from_i32(id: i32) -> Result<Icon, IconError>
[src]
Attempts to convert an identifier to an icon.
Examples
use kpdb::Icon; let icon = try!(Icon::from_i32(0));
fn to_i32(self) -> i32
[src]
Gets the icon's identifier.
Examples
use kpdb::Icon; let icon = Icon::Key; let icon_id = icon.to_i32();
Trait Implementations
impl Clone for Icon
[src]
fn clone(&self) -> Icon
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for Icon
[src]
impl Debug for Icon
[src]
impl Eq for Icon
[src]
impl Hash for Icon
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
[src]
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl PartialEq for Icon
[src]
fn eq(&self, __arg_0: &Icon) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl PartialOrd for Icon
[src]
fn partial_cmp(&self, __arg_0: &Icon) -> Option<Ordering>
[src]
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl Ord for Icon
[src]
fn cmp(&self, __arg_0: &Icon) -> Ordering
[src]
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
1.21.0[src]
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
Compares and returns the minimum of two values. Read more