pub enum FrontendSymbol {
Show 17 variants
Agent,
Brain,
Branch,
Chat,
Delete,
Edit,
Promote,
Route,
Search,
Shield,
ShieldAlert,
ShieldCheck,
ShieldOff,
Sparkle,
Storage,
Task,
Custom(String),
}Expand description
A presentation hint rather than a name from any one icon set, the same way
FrontendTone names a role instead of a color.
A gateway does not know whether the frontend draws SF Symbols, terminal glyphs, or
SVGs, so it names what a glyph stands for and each frontend supplies its own artwork.
Self::Custom carries anything outside this list so a plugin can still ship a glyph
this enum has never heard of. It is explicitly best-effort: a frontend that cannot
resolve the name falls back to a placeholder. Provider manifests use it for their own
brand tokens so adding a provider does not expand this semantic enum.
Variants§
Agent
Brain
Branch
Chat
Delete
Edit
Promote
Route
Search
Shield
ShieldAlert
ShieldCheck
ShieldOff
Sparkle
Storage
Task
Custom(String)
Implementations§
Trait Implementations§
Source§impl Clone for FrontendSymbol
impl Clone for FrontendSymbol
Source§fn clone(&self) -> FrontendSymbol
fn clone(&self) -> FrontendSymbol
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FrontendSymbol
impl Debug for FrontendSymbol
Source§impl<'de> Deserialize<'de> for FrontendSymbol
impl<'de> Deserialize<'de> for FrontendSymbol
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for FrontendSymbol
impl Display for FrontendSymbol
impl Eq for FrontendSymbol
Source§impl PartialEq for FrontendSymbol
impl PartialEq for FrontendSymbol
Source§impl Serialize for FrontendSymbol
impl Serialize for FrontendSymbol
impl StructuralPartialEq for FrontendSymbol
Auto Trait Implementations§
impl Freeze for FrontendSymbol
impl RefUnwindSafe for FrontendSymbol
impl Send for FrontendSymbol
impl Sync for FrontendSymbol
impl Unpin for FrontendSymbol
impl UnsafeUnpin for FrontendSymbol
impl UnwindSafe for FrontendSymbol
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.