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
KeyThe key icon.
WorldThe world icon.
WarningThe warning icon.
ServerThe server icon.
MarkedDirectoryThe marked directory icon.
UserCommunicationThe user communication icon.
PartsThe parts icon.
NotepadThe notepad icon.
WorldSocketThe world with socket icon.
IdentityThe identity icon.
PaperReadyThe paper ready icon.
DigicamThe digicam icon.
IRCommunicationThe infrared communication icon.
MultipleKeysThe multiple keys icon.
EnergyThe energy icon.
ScannerThe scanner icon.
WorldStarThe world with star icon.
CDRomThe CD-ROM icon.
MonitorThe monitor icon.
EmailThe email icon.
ConfigurationThe configuration icon.
ClipboardReadyThe clipboard ready icon.
PaperNewThe new paper icon.
ScreenThe screen icon.
EnergyCarefulThe energy careful icon.
InboxThe inbox icon.
DiskThe disk icon.
DriveThe drive icon.
QuickTimeThe QuickTime icon.
EncryptedTerminalThe encrypted terminal icon.
ConsoleThe console icon.
PrinterThe printer icon.
IconsThe icons icon.
RunThe run icon.
SettingsThe settings icon.
WorldComputerThe world with a computer icon.
ArchiveThe archive icon.
BankingThe banking icon.
SmbThe SMB icon (Windows networking).
ClockThe clock icon.
EmailSearchThe email search icon.
PaperFlagThe paper with flag icon.
MemoryThe memory icon.
RecycleBinThe recycle bin icon.
NoteThe note icon.
ExpiredThe expired icon.
InfoThe info icon.
PackageThe package icon.
FolderThe folder icon.
FolderOpenThe open folder icon.
FolderPackageThe packaged folder icon.
LockOpenThe open lock icon.
PaperLockedThe paper with lock icon.
CheckedThe checked icon.
PenThe pen icon.
ThumbnailThe thumbnail icon.
BookThe book icon.
ListingThe listing icon.
UserKeyThe user's key icon.
ToolThe tool icon.
HomeThe home icon.
StarThe star icon.
TuxThe Tux logo.
FeatherThe feather icon.
AppleThe Apple logo.
WikipediaThe Wikipedia logo.
MoneyThe money icon.
CertificateThe certificate icon.
PhoneThe phone icon.
Methods
impl Icon[src]
fn from_i32(id: i32) -> Result<Icon, IconError>
Attempts to convert an identifier to an icon.
Examples
use kpdb::Icon; let icon = try!(Icon::from_i32(0));
fn to_i32(self) -> i32
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
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
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)
Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0
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
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.
impl PartialOrd for Icon[src]
fn partial_cmp(&self, __arg_0: &Icon) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
fn lt(&self, other: &Rhs) -> bool1.0.0
This method tests less than (for self and other) and is used by the < operator. Read more
fn le(&self, other: &Rhs) -> bool1.0.0
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) -> bool1.0.0
This method tests greater than (for self and other) and is used by the > operator. Read more
fn ge(&self, other: &Rhs) -> bool1.0.0
This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more