Icon

Enum Icon 

Source
pub enum Icon {
Show 170 variants AngleDoubleLeft, AngleDoubleRight, AngleDown, AngleLeft, AngleRight, AngleUp, AnsibleTower, ArrowCircleDown, ArrowCircleUp, ArrowsAltV, ArrowRight, BalanceScale, Ban, Bars, Bell, AttentionBell, Bug, CaretDown, Check, CheckCircle, ClipboardCheck, Code, CodeBranch, Cog, Columns, Compress, CompressArrowsAlt, Copy, CriticalRisk, Cube, Cubes, Database, Desktop, Download, EllipsisV, ExclamationCircle, ExclamationTriangle, Expand, ExpandArrowsAlt, ExternalLinkAlt, Eye, EyeSlash, File, Filter, Flag, Folder, FolderOpen, GripHorizontal, GripVertical, History, Undo, OutlinedHdd, Home, InfoCircle, Key, List, Lock, LockOpen, LongArrowAltDown, LongArrowAltUp, MapMarker, Memory, Microchip, Minus, MinusCircle, Pause, PauseCircle, PencilAlt, Plus, PlusCircle, AddCircleO, PowerOff, Off, Openshift, Openstack, Play, Print, QuestionCircle, Redo, Search, SearchMinus, SearchPlus, ShareSquare, SortAmountDown, SortAmountDownAlt, SyncAlt, Tag, Table, TachometerAlt, Task, Th, ThLarge, Thumbtack, Times, TimesCircle, Trash, Upload, User, Users, Wrench, Asleep, Automation, Blueprint, Build, BuilderImage, Bundle, Catalog, CloudSecurity, CloudTenant, Cluster, Connected, DataProcessor, DataSink, DataSource, Degraded, Disconnected, Domain, Enhancement, Enterprise, Export, Flavor, Image, Import, InProgress, Infrastructure, Integration, Migration, Middleware, Module, Monitoring, Multicluster, Network, NetworkRange, Running, OpenDrawerRight, Optimize, Package, Pending, Private, Port, ProcessAutomation, Regions, Registry, Replicator, Repository, ResourcePool, ResourcesEmpty, ResourcesAlmostEmpty, ResourcesAlmostFull, ResourcesFull, Route, Satellite, Save, Security, ServerGroup, Service, Services, ServiceCatalog, StorageDomain, Template, Tenant, Topology, TrendDown, TrendUp, Unknown, Vcenter, VirtualMachine, Volume, Zone, CaretUp,
}

Variants§

§

AngleDoubleLeft

Indicates the ability to navigate to the first page of a multi-page data set

§

AngleDoubleRight

Indicates the ability to navigate to the last page of a multi-page data set

§

AngleDown

Indicates expandable components such as accordions, progressive disclosures, or expandable lists are currently expanded. Clicking this will collapse the component.

§

AngleLeft

Indicates the ability to navigate to the previous page of a multi-page data set

§

AngleRight

Indicates expandable elements such as accordions, progressive disclosures, or expandable lists are currently collapsed. Clicking this will expand the element.

§

AngleUp

Indicates expandable table rows (on mobile) are currently expanded. Clicking this will collapse the component.

§

AnsibleTower

Represents “Ansible Tower”

§

ArrowCircleDown

Represents status: an item (such as a VM) is down

§

ArrowCircleUp

Represents status: an item (such as a VM) is up

§

ArrowsAltV

Indicates the availability of a sorting function in a table header

§

ArrowRight

Indicates the ability to take an action or navigate to another page. Is paired with text

§

BalanceScale

Represents status: an item needs rebalancing

§

Ban

Represents status: an item is disabled, canceled, terminated or is not ready

§

Bars

Indicates the ability to collapse a navigation menu

§

Bell

Indicates the ability to open a notification drawer.

§

AttentionBell

Represents status: attention

§

Bug

Represents status: there is a bug present

§

CaretDown

Indicates the ability to acces option panels for components like drop-downs, filters and page ranges

§

Check

Represents status: Indicates a switch toggle is in the enabled position

§

CheckCircle

Indicates the ability to commit edited changes

§

ClipboardCheck

Represents orders or tasks

§

Code

Represents code

§

CodeBranch

Represents code branch

§

Cog

Indicates availability of configurable settings

§

Columns

Indicates the ability to manage columns for a table view

§

Compress

Indicates the ability to compress an item. Should toggle with fa-expand

§

CompressArrowsAlt

Indicates the ability to compress an item (alt concept). Should toggle with fa-expand-arrows-alt

§

Copy

Indicates the availability of a copy to clipboard function

§

CriticalRisk

Represents potential critical impact on a system or cluster

§

Cube

Represents a container

§

Cubes

Represents a Kubernetes pod(s)

§

Database

Represents a database

§

Desktop

Represents a desktop, workstation or terminal

§

Download

Indicates a download function is available

§

EllipsisV

Indicates a contextual menu of actions or additional actions is available

§

ExclamationCircle

Represents alert status: danger, major error or critical error

§

ExclamationTriangle

Represents alert status: warning

§

Expand

Indicates the ability to expand an item. Should toggle with fa-compress

§

ExpandArrowsAlt

Indicates the ability to expand an item (alt concept). Should toggle with fa-compress-arrows-alt

§

ExternalLinkAlt

Indicates the link navigates to an external site

§

Eye

Indicates the content of a component is currently hidden but can be revealed

§

EyeSlash

Indicates the content of a component is revealed but can be hidden

§

File

Represents a file type

§

Filter

Indicates the ability to filter search results or datasets

§

Flag

Represents a message.

§

Folder

Represents a collapsed hierarchical group.

§

FolderOpen

Represents an expanded hierarchical group.

§

GripHorizontal

Indicates the ability to move a vertically-oriented component via drag and drop

§

GripVertical

Indicates the ability to move a horizontally-oriented component via drag and drop

§

History

Represents status: restarting

§

Undo

Indicates the ability to undo an a step in a historical log

§

OutlinedHdd

Represents a single node or host

§

Home

Indicates a link to a default/home page

§

InfoCircle

Represents alert status: information

§

Key

Represents an SSH key or similar security concepts

§

List

Represents data view content in a list format.

§

Lock

Represents status: locked

§

LockOpen

Represents status: unlocked

§

LongArrowAltDown

Represents the largest-to-smallest, highest-to-lowest or last-to-first (descending) sort order for any data type in a data table column. Clicking this will toggle the sort to ascending.

§

LongArrowAltUp

Represents the smallest-to-largest, lowest-to-highest or first-to-last (ascending) sort order for any data type in a data table column. Clicking this will toggle the sort to descending.

§

MapMarker

Represents a locale

§

Memory

Represents the memory on a device

§

Microchip

Represents the CPU of a device

§

Minus

Indicates the ability to remove an item

§

MinusCircle

Indicates the ability to remove an item (alt concept)

§

Pause

Indicates the ability to pause. Should toggle with fa-play

§

PauseCircle

Represents status: an interruption and/or stoppage of a process

§

PencilAlt

Indicates the ability to edit an item

§

Plus

Indicates the ability to add an item; not for creating completely new objects (see pficon-circle-add)

§

PlusCircle

Indicates the ability to create an item

§

AddCircleO

Indicates the ability to create an item. Use this if there are many instances of this icon in a UI (data list, table, etc) to reduce visual noise.

§

PowerOff

Represents status: powered on

§

Off

Represents status: powered off

§

Openshift

Represents brand: OpenShift

§

Openstack

Represents brand: OpenStack

§

Play

Indicates the ability to start or resume. Should toggle with fa-pause

§

Print

Indicates the availability of a print function

§

QuestionCircle

Indicates the availability of a help system in the masthead

§

Redo

Indicates the ability to refresh. Please use the animated spinner to indicate that something is “loading” or in the middle of processing

§

Search

Indicates that that user may perform a search

§

SearchMinus

Indicates the ability to zoom out

§

SearchPlus

Indicates the ability to zoom in

§

ShareSquare

Indicates the ability to share via various methods with others

§

SortAmountDown

Represents the largest-to-smallest, highest-to-lowest or last-to-first (descending) sort order for any data type.

§

SortAmountDownAlt

Represents the smallest-to-largest, lowest-to-highest or first-to-last (ascending) sort order for any data type.

§

SyncAlt

Indicates the availability of a sync action

§

Tag

Indicates the abiltiy to access or create a set of tags

§

Table

Represents data view content in a table format

§

TachometerAlt

Represents data view content in a dashboard

§

Task

Indicates the ability to open a task drawer. Also can represent tasks or activity.

§

Th

Represents data view content in a small card format

§

ThLarge

Represents data view content in a large card format

§

Thumbtack

Indicates the ability to pin an item

§

Times

Indicates the ability to close a modal or other panel. Also indicates the ability to clear existing data, such as filter criteria or labels

§

TimesCircle

Indicates the ability to close the about modal

§

Trash

Indicates the ability to delete

§

Upload

Indicates an upload function is available

§

User

Represents a user (in a dataset, paired with a username).

§

Users

Represents multiple users, a user grouping or project

§

Wrench

Represents status: in preparation for maintenance

§

Asleep

Represents an item is asleep or in power suspended mode

§

Automation

Represents a process-automation object

§

Blueprint

Represents a blueprint

§

Build

Represents a build

§

BuilderImage

Represents a builder image

§

Bundle

Represents a package; used in Satellite, Cockpit, and Composer to indicate a generic package or rpm

§

Catalog

Indicates the availability of a catalog or library

§

CloudSecurity

Represents cloud security

§

CloudTenant

Represents a cloud tenant

§

Cluster

Represents a cluster or server

§

Connected

Represents an item’s power is on and is “up”; this is a more active alternative to “pficon-on”

§

DataProcessor

Represents a data processor

§

DataSink

Represents a data sink

§

DataSource

Represents a data source

§

Degraded

Volume replication is degraded

§

Disconnected

Represents an item’s power is off and is “down”; this is a more active alternative to “pficon-off”

§

Domain

Represents a domain

§

Enhancement

Represents status: enhancement advisory is present

§

Enterprise

Represents an enterprise

§

Export

Indicates the ability to export a file or other data

§

Flavor

Represents a flavor

§

Image

Represents an image

§

Import

Indicates the ability to import a file or other data

§

InProgress

Represents running a determinite action

§

Infrastructure

Represents an infrastructure

§

Integration

Represents an integration of two or more objects

§

Migration

Represents an item such as a VM is currently migrating

§

Middleware

Represents middleware

§

Module

Represents a module

§

Monitoring

Represents monitoring

§

Multicluster

Indicates a multicluster object

§

Network

Represents network

§

NetworkRange

Represents network range

§

Running

Represents status: running

§

OpenDrawerRight

Open or close a drawer

§

Optimize

Indicates the ability to optimize an item or a process

§

Package

Represents a package

§

Pending

Represents status: pending; currently waiting on contingencies

§

Private

Represents status: private; cannot access with current credentials

§

Port

Represents a port or route

§

ProcessAutomation

Represents process automation

§

Regions

Represents a region

§

Registry

Represents a registry

§

Replicator

Represents a replicator

§

Repository

Represents a repository

§

ResourcePool

Represents a resource pool

§

ResourcesEmpty

Represents status: is empty

§

ResourcesAlmostEmpty

Represents status: is almost empty

§

ResourcesAlmostFull

Represents status: is almost full

§

ResourcesFull

Represents status: is full

§

Route

Represents a route

§

Satellite

Represents brand: Satellite

§

Save

Indicates the ability to save a file or other object

§

Security

Represents status: security advisory is present

§

ServerGroup

Represents a server group

§

Service

Represents a Kubernetes service

§

Services

Represents services

§

ServiceCatalog

Indicates availability of a catalog/library to browse

§

StorageDomain

Indicates a storage domain

§

Template

Represents a template; includes contents or instructions used to generate one or more instances of a final output

§

Tenant

Represents a tenant

§

Topology

Represents data view content in a topology format

§

TrendDown

Represents status: downward trend

§

TrendUp

Represents status: upward trend

§

Unknown

Represents status: unknown

§

Vcenter

Represents a vcenter

§

VirtualMachine

Represents a virtual machine

§

Volume

Represents a volume

§

Zone

Represents a zone; a grouping of servers based on geographic location, network location, or function

§

CaretUp

Indicates the ability to acces option panels for components like drop-downs, filters and page ranges

Implementations§

Source§

impl Icon

Source

pub fn as_html(&self) -> Html

Source

pub fn with_style(&self, style: impl Into<AttrValue>) -> Styled<Icon>

Wrap an Icon with a CSS style

Source

pub fn with_optional_style( &self, style: impl Into<Option<AttrValue>>, ) -> Styled<Icon>

Wrap an Icon with a optional CSS style

Source

pub fn with_state(&self, state: State) -> Html

Source

pub fn with_state_weight(&self, state: State, weight: usize) -> Html

Source

pub fn with_classes(&self, classes: Classes) -> Html

Trait Implementations§

Source§

impl AsClasses for Icon

Source§

fn extend_classes(&self, classes: &mut Classes)

Source§

fn as_classes(&self) -> Classes

Source§

impl AsRef<str> for Icon

Source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl Clone for Icon

Source§

fn clone(&self) -> Icon

Returns a duplicate of the value. Read more
1.0.0§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for Icon

Source§

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

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

impl EnumMessage for Icon

Source§

fn get_message(&self) -> Option<&'static str>

Source§

fn get_detailed_message(&self) -> Option<&'static str>

Source§

fn get_documentation(&self) -> Option<&'static str>

Get the doc comment associated with a variant if it exists.
Source§

fn get_serializations(&self) -> &'static [&'static str]

Source§

impl<'_derivative_strum> From<&'_derivative_strum Icon> for &'static str

Source§

fn from(x: &'_derivative_strum Icon) -> &'static str

Converts to this type from the input type.
Source§

impl From<Icon> for &'static str

Source§

fn from(x: Icon) -> &'static str

Converts to this type from the input type.
Source§

impl From<Icon> for VNode

Source§

fn from(icon: Icon) -> Self

Converts to this type from the input type.
Source§

impl IntoEnumIterator for Icon

Source§

impl IntoPropValue<ChildrenRenderer<VNode>> for Icon

Source§

fn into_prop_value(self) -> ChildrenRenderer<VNode>

Convert self to a value of a Properties struct.
Source§

impl IntoPropValue<Option<VNode>> for Icon

Source§

fn into_prop_value(self) -> Option<Html>

Convert self to a value of a Properties struct.
Source§

impl PartialEq for Icon

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0§

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

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl ToHtml for Icon

Source§

fn to_html(&self) -> Html

Converts this type to a Html.
Source§

fn into_html(self) -> VNode
where Self: Sized,

Converts this type into a Html.
Source§

impl Copy for Icon

Source§

impl Eq for Icon

Source§

impl StructuralPartialEq for Icon

Auto Trait Implementations§

§

impl Freeze for Icon

§

impl RefUnwindSafe for Icon

§

impl Send for Icon

§

impl Sync for Icon

§

impl Unpin for Icon

§

impl UnwindSafe for Icon

Blanket Implementations§

§

impl<T> Any for T
where T: 'static + ?Sized,

§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Borrow<T> for T
where T: ?Sized,

§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
§

impl<T> BorrowMut<T> for T
where T: ?Sized,

§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

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

§

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<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<T> From<T> for T

§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
§

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

§

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> IntoPropValue<Option<T>> for T

Source§

fn into_prop_value(self) -> Option<T>

Convert self to a value of a Properties struct.
Source§

impl<T> IntoPropValue<T> for T

Source§

fn into_prop_value(self) -> T

Convert self to a value of a Properties struct.
Source§

impl<T> IntoPropValue<VNode> for T
where T: ToHtml,

Source§

fn into_prop_value(self) -> VNode

Convert self to a value of a Properties struct.
§

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

§

type Owned = T

The resulting type after obtaining ownership.
§

fn to_owned(&self) -> T

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

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

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

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

§

type Error = Infallible

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

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
§

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

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithBreakpointExt<T> for T
where T: PartialEq,

Source§

fn on(self, breakpoint: Breakpoint) -> WithBreakpoint<T>

Source§

fn all(self) -> WithBreakpoint<T>

Source§

fn sm(self) -> WithBreakpoint<T>

Source§

fn md(self) -> WithBreakpoint<T>

Source§

fn lg(self) -> WithBreakpoint<T>

Source§

fn xl(self) -> WithBreakpoint<T>

Source§

fn xxl(self) -> WithBreakpoint<T>

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<Token, Builder, How> AllPropsFor<Builder, How> for Token
where Builder: Buildable<Token>, <Builder as Buildable<Token>>::WrappedToken: HasAllProps<<Builder as Buildable<Token>>::Output, How>,

Source§

impl<T> DualListSelectorItemRenderer for T
where T: ToHtml + Debug + Clone + PartialEq + 'static,

Source§

impl<T> HasAllProps<(), T> for T