pub struct FilterTabsProps {
pub items: Vec<String>,
pub all_label: Option<String>,
}Expand description
Props for the FilterTabs builtin (standalone builtin, operator-locked).
Filters visible tiles client-side via data-filter-tokens matching
(Phase 255 runtime). Renderer lands in Phase 256.
Fields§
§items: Vec<String>Category labels rendered as filter tabs. May be $data-bound at render
time. Matching against data-filter-tokens must normalize spaces to
hyphens, mirroring TileProps::categories rendering.
all_label: Option<String>Label for the “show all” tab. Phase 256 render default is “All” (neutral
English — this crate is project-agnostic). Pass all_label: "Tutte" or
any locale string from the consumer.
Trait Implementations§
Source§impl Clone for FilterTabsProps
impl Clone for FilterTabsProps
Source§fn clone(&self) -> FilterTabsProps
fn clone(&self) -> FilterTabsProps
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 FilterTabsProps
impl Debug for FilterTabsProps
Source§impl<'de> Deserialize<'de> for FilterTabsProps
impl<'de> Deserialize<'de> for FilterTabsProps
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for FilterTabsProps
impl JsonSchema for FilterTabsProps
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for FilterTabsProps
impl PartialEq for FilterTabsProps
Source§fn eq(&self, other: &FilterTabsProps) -> bool
fn eq(&self, other: &FilterTabsProps) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for FilterTabsProps
impl Serialize for FilterTabsProps
impl StructuralPartialEq for FilterTabsProps
Auto Trait Implementations§
impl Freeze for FilterTabsProps
impl RefUnwindSafe for FilterTabsProps
impl Send for FilterTabsProps
impl Sync for FilterTabsProps
impl Unpin for FilterTabsProps
impl UnsafeUnpin for FilterTabsProps
impl UnwindSafe for FilterTabsProps
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