pub enum Icon {
Show 547 variants
Add,
AddClip,
AddColumnLeft,
AddColumnRight,
AddLocation,
AddRowBottom,
AddRowTop,
AddToArtifact,
AddToFolder,
Airplane,
AlignCenter,
AlignJustify,
AlignLeft,
AlignRight,
AlignmentBottom,
AlignmentHorizontalCenter,
AlignmentLeft,
AlignmentRight,
AlignmentTop,
AlignmentVerticalCenter,
Annotation,
Antenna,
AppHeader,
Application,
Applications,
Archive,
AreaOfInterest,
Array,
ArrayBoolean,
ArrayDate,
ArrayNumeric,
ArrayString,
ArrayTimestamp,
ArrowBottomLeft,
ArrowBottomRight,
ArrowDown,
ArrowLeft,
ArrowRight,
ArrowTopLeft,
ArrowTopRight,
ArrowUp,
ArrowsHorizontal,
ArrowsVertical,
Asterisk,
AutomaticUpdates,
Backlink,
Badge,
BanCircle,
BankAccount,
Barcode,
Blank,
BlockedPerson,
Bold,
Book,
Bookmark,
Box,
Briefcase,
BringData,
Buggy,
Build,
Calculator,
Calendar,
Camera,
CaretDown,
CaretLeft,
CaretRight,
CaretUp,
CargoShip,
CellTower,
Changes,
Chart,
Chat,
ChevronBackward,
ChevronDown,
ChevronForward,
ChevronLeft,
ChevronRight,
ChevronUp,
Circle,
CircleArrowDown,
CircleArrowLeft,
CircleArrowRight,
CircleArrowUp,
Citation,
Clean,
Clip,
Clipboard,
Cloud,
CloudDownload,
CloudUpload,
Code,
CodeBlock,
Cog,
CollapseAll,
ColumnLayout,
Comment,
Comparison,
Compass,
Compressed,
Confirm,
Console,
Contrast,
Control,
CreditCard,
Cross,
Crown,
Cube,
CubeAdd,
CubeRemove,
CurvedRangeChart,
Cut,
Cycle,
Dashboard,
DataConnection,
DataLineage,
Database,
Delete,
Delta,
DeriveColumn,
Desktop,
Diagnosis,
DiagramTree,
DirectionLeft,
DirectionRight,
Disable,
Document,
DocumentOpen,
DocumentShare,
Dollar,
Dot,
DoubleCaretHorizontal,
DoubleCaretVertical,
DoubleChevronDown,
DoubleChevronLeft,
DoubleChevronRight,
DoubleChevronUp,
DoughnutChart,
Download,
DragHandleHorizontal,
DragHandleVertical,
Draw,
DrawerLeft,
DrawerLeftFilled,
DrawerRight,
DrawerRightFilled,
DriveTime,
Duplicate,
Edit,
Eject,
Emoji,
Endorsed,
Envelope,
Equals,
Eraser,
Error,
Euro,
Exchange,
ExcludeRow,
ExpandAll,
Export,
EyeOff,
EyeOn,
EyeOpen,
FastBackward,
FastForward,
Feed,
FeedSubscribed,
Film,
Filter,
FilterKeep,
FilterList,
FilterOpen,
FilterRemove,
Flag,
Flame,
Flash,
FloppyDisk,
FlowBranch,
FlowEnd,
FlowLinear,
FlowReview,
FlowReviewBranch,
Flows,
FolderClose,
FolderNew,
FolderOpen,
FolderShared,
FolderSharedOpen,
Follower,
Following,
Font,
Fork,
Form,
FullCircle,
FullStackedChart,
Fullscreen,
Function,
GanttChart,
Geofence,
Geolocation,
Geosearch,
GitBranch,
GitCommit,
GitMerge,
GitNewBranch,
GitPull,
GitPush,
GitRepo,
Glass,
Globe,
GlobeNetwork,
Graph,
GraphRemove,
GreaterThan,
GreaterThanOrEqualTo,
Grid,
GridView,
GroupObjects,
GroupedBarChart,
Hand,
HandDown,
HandLeft,
HandRight,
HandUp,
Hat,
Header,
HeaderOne,
HeaderThree,
HeaderTwo,
Headset,
Heart,
HeartBroken,
HeatGrid,
Heatmap,
Helicopter,
Help,
HelperManagement,
HighPriority,
Highlight,
History,
Home,
HorizontalBarChart,
HorizontalBarChartAsc,
HorizontalBarChartDesc,
HorizontalDistribution,
Hurricane,
IdNumber,
ImageRotateLeft,
ImageRotateRight,
Import,
Inbox,
InboxFiltered,
InboxGeo,
InboxSearch,
InboxUpdate,
InfoSign,
Inheritance,
InheritedGroup,
InnerJoin,
Insert,
Intersection,
IpAddress,
Issue,
IssueClosed,
IssueNew,
Italic,
JoinTable,
Key,
KeyBackspace,
KeyCommand,
KeyControl,
KeyDelete,
KeyEnter,
KeyEscape,
KeyOption,
KeyShift,
KeyTab,
KnownVehicle,
LabTest,
Label,
Layer,
LayerOutline,
Layers,
Layout,
LayoutAuto,
LayoutBalloon,
LayoutCircle,
LayoutGrid,
LayoutGroupBy,
LayoutHierarchy,
LayoutLinear,
LayoutSkewGrid,
LayoutSortedClusters,
Learning,
LeftJoin,
LessThan,
LessThanOrEqualTo,
Lifesaver,
Lightbulb,
Lightning,
Link,
List,
ListColumns,
ListDetailView,
Locate,
Lock,
LogIn,
LogOut,
Manual,
ManuallyEnteredData,
ManyToMany,
ManyToOne,
Map,
MapCreate,
MapMarker,
Maximize,
Media,
Menu,
MenuClosed,
MenuOpen,
MergeColumns,
MergeLinks,
Minimize,
Minus,
MobilePhone,
MobileVideo,
Modal,
ModalFilled,
Moon,
More,
Mountain,
Move,
Mugshot,
MultiSelect,
Music,
Nest,
NewDrawing,
NewGridItem,
NewLayer,
NewLayers,
NewLink,
NewObject,
NewPerson,
NewPrescription,
NewTextBox,
Ninja,
NotEqualTo,
Notifications,
NotificationsSnooze,
NotificationsUpdated,
NumberedList,
Numerical,
Office,
Offline,
OilField,
OneColumn,
OneToMany,
OneToOne,
Outdated,
PageLayout,
PanelStats,
PanelTable,
Paperclip,
Paragraph,
Path,
PathSearch,
Pause,
People,
Percentage,
Person,
Phone,
PieChart,
Pin,
Pivot,
PivotTable,
Play,
Plus,
PolygonFilter,
Power,
PredictiveAnalysis,
Prescription,
Presentation,
Print,
Projects,
Properties,
Property,
PublishFunction,
Pulse,
Rain,
Random,
Record,
Rectangle,
Redo,
Refresh,
RegressionChart,
Remove,
RemoveColumn,
RemoveColumnLeft,
RemoveColumnRight,
RemoveRowBottom,
RemoveRowTop,
Repeat,
Reset,
Resolve,
Rig,
RightJoin,
Ring,
Rocket,
RocketSlant,
RotateDocument,
RotatePage,
Route,
Satellite,
Saved,
ScatterPlot,
Search,
SearchAround,
SearchTemplate,
SearchText,
SegmentedControl,
Select,
Selection,
SendMessage,
SendTo,
SendToGraph,
SendToMap,
SeriesAdd,
SeriesConfiguration,
SeriesDerived,
SeriesFiltered,
SeriesSearch,
Settings,
Shapes,
Share,
SharedFilter,
Shield,
Ship,
Shop,
ShoppingCart,
SignalSearch,
SimCard,
Slash,
SmallCross,
SmallMinus,
SmallPlus,
SmallSquare,
SmallTick,
Snowflake,
SocialMedia,
Sort,
SortAlphabetical,
SortAlphabeticalDesc,
SortAsc,
SortDesc,
SortNumerical,
SortNumericalDesc,
SplitColumns,
Square,
StackedChart,
StadiumGeometry,
Star,
StarEmpty,
StepBackward,
StepChart,
StepForward,
Stop,
Stopwatch,
Strikethrough,
Style,
SwapHorizontal,
SwapVertical,
Switch,
SymbolCircle,
SymbolCross,
SymbolDiamond,
SymbolRectangle,
SymbolSquare,
SymbolTriangleDown,
SymbolTriangleUp,
Syringe,
Tag,
TakeAction,
Tank,
Target,
Taxi,
Temperature,
TextHighlight,
Th,
ThDerived,
ThDisconnect,
ThFiltered,
ThList,
ThirdParty,
ThumbsDown,
ThumbsUp,
Tick,
TickCircle,
Time,
TimelineAreaChart,
TimelineBarChart,
TimelineEvents,
TimelineLineChart,
Tint,
Torch,
Tractor,
Train,
Translate,
Trash,
Tree,
TrendingDown,
TrendingUp,
Truck,
TwoColumns,
Unarchive,
Underline,
Undo,
UngroupObjects,
UnknownVehicle,
Unlock,
Unpin,
Unresolve,
Updated,
Upload,
User,
Variable,
VerticalBarChartAsc,
VerticalBarChartDesc,
VerticalDistribution,
Video,
Virus,
VolumeDown,
VolumeOff,
VolumeUp,
Walk,
WarningSign,
WaterfallChart,
Waves,
Widget,
WidgetButton,
WidgetFooter,
WidgetHeader,
Wind,
Wrench,
ZoomIn,
ZoomOut,
ZoomToFit,
Custom(Html),
}Variants§
Add
AddClip
AddColumnLeft
AddColumnRight
AddLocation
AddRowBottom
AddRowTop
AddToArtifact
AddToFolder
Airplane
AlignCenter
AlignJustify
AlignLeft
AlignRight
AlignmentBottom
AlignmentHorizontalCenter
AlignmentLeft
AlignmentRight
AlignmentTop
AlignmentVerticalCenter
Annotation
Antenna
AppHeader
Application
Applications
Archive
AreaOfInterest
Array
ArrayBoolean
ArrayDate
ArrayNumeric
ArrayString
ArrayTimestamp
ArrowBottomLeft
ArrowBottomRight
ArrowDown
ArrowLeft
ArrowRight
ArrowTopLeft
ArrowTopRight
ArrowUp
ArrowsHorizontal
ArrowsVertical
Asterisk
AutomaticUpdates
Backlink
Badge
BanCircle
BankAccount
Barcode
Blank
BlockedPerson
Bold
Book
Bookmark
Box
Briefcase
BringData
Buggy
Build
Calculator
Calendar
Camera
CaretDown
CaretLeft
CaretRight
CaretUp
CargoShip
CellTower
Changes
Chart
Chat
ChevronBackward
ChevronDown
ChevronForward
ChevronLeft
ChevronRight
ChevronUp
Circle
CircleArrowDown
CircleArrowLeft
CircleArrowRight
CircleArrowUp
Citation
Clean
Clip
Clipboard
Cloud
CloudDownload
CloudUpload
Code
CodeBlock
Cog
CollapseAll
ColumnLayout
Comment
Comparison
Compass
Compressed
Confirm
Console
Contrast
Control
CreditCard
Cross
Crown
Cube
CubeAdd
CubeRemove
CurvedRangeChart
Cut
Cycle
Dashboard
DataConnection
DataLineage
Database
Delete
Delta
DeriveColumn
Desktop
Diagnosis
DiagramTree
DirectionLeft
DirectionRight
Disable
Document
DocumentOpen
Dollar
Dot
DoubleCaretHorizontal
DoubleCaretVertical
DoubleChevronDown
DoubleChevronLeft
DoubleChevronRight
DoubleChevronUp
DoughnutChart
Download
DragHandleHorizontal
DragHandleVertical
Draw
DrawerLeft
DrawerLeftFilled
DrawerRight
DrawerRightFilled
DriveTime
Duplicate
Edit
Eject
Emoji
Endorsed
Envelope
Equals
Eraser
Error
Euro
Exchange
ExcludeRow
ExpandAll
Export
EyeOff
EyeOn
EyeOpen
FastBackward
FastForward
Feed
FeedSubscribed
Film
Filter
FilterKeep
FilterList
FilterOpen
FilterRemove
Flag
Flame
Flash
FloppyDisk
FlowBranch
FlowEnd
FlowLinear
FlowReview
FlowReviewBranch
Flows
FolderClose
FolderNew
FolderOpen
Follower
Following
Font
Fork
Form
FullCircle
FullStackedChart
Fullscreen
Function
GanttChart
Geofence
Geolocation
Geosearch
GitBranch
GitCommit
GitMerge
GitNewBranch
GitPull
GitPush
GitRepo
Glass
Globe
GlobeNetwork
Graph
GraphRemove
GreaterThan
GreaterThanOrEqualTo
Grid
GridView
GroupObjects
GroupedBarChart
Hand
HandDown
HandLeft
HandRight
HandUp
Hat
Header
HeaderOne
HeaderThree
HeaderTwo
Headset
Heart
HeartBroken
HeatGrid
Heatmap
Helicopter
Help
HelperManagement
HighPriority
Highlight
History
Home
HorizontalBarChart
HorizontalBarChartAsc
HorizontalBarChartDesc
HorizontalDistribution
Hurricane
IdNumber
ImageRotateLeft
ImageRotateRight
Import
Inbox
InboxFiltered
InboxGeo
InboxSearch
InboxUpdate
InfoSign
Inheritance
InheritedGroup
InnerJoin
Insert
Intersection
IpAddress
Issue
IssueClosed
IssueNew
Italic
JoinTable
Key
KeyBackspace
KeyCommand
KeyControl
KeyDelete
KeyEnter
KeyEscape
KeyOption
KeyShift
KeyTab
KnownVehicle
LabTest
Label
Layer
LayerOutline
Layers
Layout
LayoutAuto
LayoutBalloon
LayoutCircle
LayoutGrid
LayoutGroupBy
LayoutHierarchy
LayoutLinear
LayoutSkewGrid
LayoutSortedClusters
Learning
LeftJoin
LessThan
LessThanOrEqualTo
Lifesaver
Lightbulb
Lightning
Link
List
ListColumns
ListDetailView
Locate
Lock
LogIn
LogOut
Manual
ManuallyEnteredData
ManyToMany
ManyToOne
Map
MapCreate
MapMarker
Maximize
Media
Menu
MenuClosed
MenuOpen
MergeColumns
MergeLinks
Minimize
Minus
MobilePhone
MobileVideo
Modal
ModalFilled
Moon
More
Mountain
Move
Mugshot
MultiSelect
Music
Nest
NewDrawing
NewGridItem
NewLayer
NewLayers
NewLink
NewObject
NewPerson
NewPrescription
NewTextBox
Ninja
NotEqualTo
Notifications
NotificationsSnooze
NotificationsUpdated
NumberedList
Numerical
Office
Offline
OilField
OneColumn
OneToMany
OneToOne
Outdated
PageLayout
PanelStats
PanelTable
Paperclip
Paragraph
Path
PathSearch
Pause
People
Percentage
Person
Phone
PieChart
Pin
Pivot
PivotTable
Play
Plus
PolygonFilter
Power
PredictiveAnalysis
Prescription
Presentation
Projects
Properties
Property
PublishFunction
Pulse
Rain
Random
Record
Rectangle
Redo
Refresh
RegressionChart
Remove
RemoveColumn
RemoveColumnLeft
RemoveColumnRight
RemoveRowBottom
RemoveRowTop
Repeat
Reset
Resolve
Rig
RightJoin
Ring
Rocket
RocketSlant
RotateDocument
RotatePage
Route
Satellite
Saved
ScatterPlot
Search
SearchAround
SearchTemplate
SearchText
SegmentedControl
Select
Selection
SendMessage
SendTo
SendToGraph
SendToMap
SeriesAdd
SeriesConfiguration
SeriesDerived
SeriesFiltered
SeriesSearch
Settings
Shapes
Shield
Ship
Shop
ShoppingCart
SignalSearch
SimCard
Slash
SmallCross
SmallMinus
SmallPlus
SmallSquare
SmallTick
Snowflake
SocialMedia
Sort
SortAlphabetical
SortAlphabeticalDesc
SortAsc
SortDesc
SortNumerical
SortNumericalDesc
SplitColumns
Square
StackedChart
StadiumGeometry
Star
StarEmpty
StepBackward
StepChart
StepForward
Stop
Stopwatch
Strikethrough
Style
SwapHorizontal
SwapVertical
Switch
SymbolCircle
SymbolCross
SymbolDiamond
SymbolRectangle
SymbolSquare
SymbolTriangleDown
SymbolTriangleUp
Syringe
Tag
TakeAction
Tank
Target
Taxi
Temperature
TextHighlight
Th
ThDerived
ThDisconnect
ThFiltered
ThList
ThirdParty
ThumbsDown
ThumbsUp
Tick
TickCircle
Time
TimelineAreaChart
TimelineBarChart
TimelineEvents
TimelineLineChart
Tint
Torch
Tractor
Train
Translate
Trash
Tree
TrendingDown
TrendingUp
Truck
TwoColumns
Unarchive
Underline
Undo
UngroupObjects
UnknownVehicle
Unlock
Unpin
Unresolve
Updated
Upload
User
Variable
VerticalBarChartAsc
VerticalBarChartDesc
VerticalDistribution
Video
Virus
VolumeDown
VolumeOff
VolumeUp
Walk
WarningSign
WaterfallChart
Waves
Widget
WidgetButton
WidgetHeader
Wind
Wrench
ZoomIn
ZoomOut
ZoomToFit
Custom(Html)
Implementations§
Trait Implementations§
source§impl Component for Icon
impl Component for Icon
§type Properties = IconProps
type Properties = IconProps
The Component’s properties. Read more
§type Message = ()
type Message = ()
Messages are used to make Components dynamic and interactive. Simple
Component’s can declare their Message type to be
(). Complex Component’s
commonly use an enum to declare multiple Message types.source§fn view(&self, ctx: &Context<Self>) -> Html
fn view(&self, ctx: &Context<Self>) -> Html
Components define their visual layout using a JSX-style syntax through the use of the
html! procedural macro. The full guide to using the macro can be found in Yew’s
documentation. Read moresource§fn update(&mut self, ctx: &Context<Self>, msg: Self::Message) -> bool
fn update(&mut self, ctx: &Context<Self>, msg: Self::Message) -> bool
Called when a new message is sent to the component via its scope. Read more
source§fn changed(&mut self, ctx: &Context<Self>, _old_props: &Self::Properties) -> bool
fn changed(&mut self, ctx: &Context<Self>, _old_props: &Self::Properties) -> bool
Called when properties passed to the component change Read more
source§fn rendered(&mut self, ctx: &Context<Self>, first_render: bool)
fn rendered(&mut self, ctx: &Context<Self>, first_render: bool)
The
rendered method is called after each time a Component is rendered but
before the browser updates the page. Read moresource§impl IntoPropValue<Icon> for &Option<Icon>
impl IntoPropValue<Icon> for &Option<Icon>
source§fn into_prop_value(self) -> Icon
fn into_prop_value(self) -> Icon
Convert
self to a value of a Properties struct.source§impl IntoPropValue<Icon> for Html
impl IntoPropValue<Icon> for Html
source§fn into_prop_value(self) -> Icon
fn into_prop_value(self) -> Icon
Convert
self to a value of a Properties struct.source§impl IntoPropValue<Icon> for Option<Html>
impl IntoPropValue<Icon> for Option<Html>
source§fn into_prop_value(self) -> Icon
fn into_prop_value(self) -> Icon
Convert
self to a value of a Properties struct.source§impl IntoPropValue<Icon> for Option<Icon>
impl IntoPropValue<Icon> for Option<Icon>
source§fn into_prop_value(self) -> Icon
fn into_prop_value(self) -> Icon
Convert
self to a value of a Properties struct.source§impl PartialEq<Icon> for Icon
impl PartialEq<Icon> for Icon
impl ImplicitClone for Icon
impl StructuralPartialEq for Icon
Auto Trait Implementations§
impl !RefUnwindSafe for Icon
impl !Send for Icon
impl !Sync for Icon
impl Unpin for Icon
impl !UnwindSafe for Icon
Blanket Implementations§
source§impl<T> BaseComponent for Twhere
T: Component + 'static,
impl<T> BaseComponent for Twhere
T: Component + 'static,
§type Properties = <T as Component>::Properties
type Properties = <T as Component>::Properties
The Component’s Properties.
source§fn update(&mut self, ctx: &Context<T>, msg: <T as BaseComponent>::Message) -> bool
fn update(&mut self, ctx: &Context<T>, msg: <T as BaseComponent>::Message) -> bool
Updates component’s internal state.
source§fn changed(
&mut self,
ctx: &Context<T>,
old_props: &<T as BaseComponent>::Properties
) -> bool
fn changed(
&mut self,
ctx: &Context<T>,
old_props: &<T as BaseComponent>::Properties
) -> bool
React to changes of component properties.
source§fn view(&self, ctx: &Context<T>) -> Result<VNode, RenderError>
fn view(&self, ctx: &Context<T>) -> Result<VNode, RenderError>
Returns a component layout to be rendered.
source§fn rendered(&mut self, ctx: &Context<T>, first_render: bool)
fn rendered(&mut self, ctx: &Context<T>, first_render: bool)
Notified after a layout is rendered.
source§fn prepare_state(&self) -> Option<String>
fn prepare_state(&self) -> Option<String>
Prepares the server-side state.
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
source§fn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self to a value of a Properties struct.source§impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
source§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self to a value of a Properties struct.