Skip to main content

SlotType

Trait SlotType 

pub trait SlotType {
    const MANY: bool;

    // Required methods
    fn accepts() -> Accepts;
    fn fill(
        &mut self,
        source: &mut dyn Source,
        slot: &str,
    ) -> Result<(), String>;
}
Expand description

A Rust type a slot may have: Option<Element> for one view, Vec<Element> for any number, Option<P> of another component’s props for that component only (the derive implements it).

Required Associated Constants§

const MANY: bool

Whether it holds any number of children.

Required Methods§

fn accepts() -> Accepts

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

Take the slot slot’s content from source.

§Errors

The content does not fit the slot.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

§

impl SlotType for Option<SearchButtonProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<PopoverButtonProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<ActivityEntryProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<ActivityTimelineProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<AutocompleteProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<AvatarProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<BadgeProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<BannerProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<BarChipProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<BarGaugeProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<BlockEditorProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<BoardCardProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<BoardLaneProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<BoardProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<BreadcrumbProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<BreadcrumbSegmentProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<ButtonProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<CardGridCardProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<CardGridProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<CardProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<ChangeMarkProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<CheckboxProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<ChipProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<ChromeProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<CodeEditorProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<ColorPickerProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<ColorSwatchPickerProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<ContextMenuProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<ControlRowProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<ConversationEntryProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<ConversationListProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<DataTableCellProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<DataTableColumnProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<DataTableProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<DataTableRowProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<DateFieldProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<DatePickerProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<DisclosureBandProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<DisclosureRowProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<DockedProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<DragItemProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<DragRunProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<DrawingProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<DropZoneProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<DropdownProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<EditableLabelProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<EmojiBarProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<EmojiPickerProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<EmptyStateProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<EnumFieldProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<EnumOptionProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<FactProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<FactsProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<FloatingPanelProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<HoverToolbarProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<IconProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<ImageCropEditorProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<ImageProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<ImageViewerProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<InputHintProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<KeyHintProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<KeyHintsProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<LinkProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<ListItemProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<ListRowProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<MapPinProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<MapProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<MediaCardProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<MediaGridProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<MediaTransportProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<MenuButtonProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<MenuItemProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<MenuSeparatorProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<ModalProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<NavItemProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<NavListProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<NavSectionProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<NavShellProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<NumberInputProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<ObjectHeaderProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<PagePreviewProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<PageSidebarProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<PageSlideProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<PersonFieldProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<PictureChoiceProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<PictureOptionProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<PopoverProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<PresenceFaceProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<ProgressBarProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<ProgressRingProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<PropertyListProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<PropertyProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<QrProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<QuoteProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<ReactionsProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<RichInputProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<RichTextLineProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<ScrollProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<SectionProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<SegmentProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<ShortcutRecorderProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<SignalMeterProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<SkeletonProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<SliderProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<SpinnerProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<StatGroupProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<StatTileProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<StatusLineProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<StepperProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<SuggestionProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<SwipeActionProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<SwipeProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<TabItemProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<TabStripProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<TextInputProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<TextProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<TextStackProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<TimeFieldProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<TimePickerProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<TimeProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<ToggleGroupProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<ToggleProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<ToolbarButtonProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<ToolbarProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<ToolbarSeparatorProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<ToolbarSpacerProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<TreeViewNodeProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<TreeViewProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<TreeViewRowProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<UnreadDividerProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<VideoPlayerProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<ViewTabsProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<VirtualListProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<WebViewProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<WindowFrameProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<WindowPreviewProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<WindowWellProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<Box<dyn Widget>>

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Option<SparklineProps>

A slot that accepts only this component reads its props.

§

const MANY: bool = false

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Vec<MenuPart>

A menu’s parts, in order: commands, separators and an emoji bar.

§

const MANY: bool = true

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Vec<NavEntry>

A navigation list’s places and sections, in order.

§

const MANY: bool = true

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Vec<ToolbarPart>

A toolbar’s parts, in order: commands, separators and spacers.

§

const MANY: bool = true

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Vec<ActivityEntryProps>

§

const MANY: bool = true

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Vec<BoardCardProps>

A lane’s cards: BoardCardProps only.

§

const MANY: bool = true

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Vec<BoardLaneProps>

A board’s lanes: BoardLaneProps only.

§

const MANY: bool = true

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Vec<BreadcrumbSegmentProps>

§

const MANY: bool = true

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Vec<CardGridCardProps>

§

const MANY: bool = true

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Vec<ConversationEntryProps>

§

const MANY: bool = true

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Vec<DataTableCellProps>

§

const MANY: bool = true

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Vec<DataTableColumnProps>

§

const MANY: bool = true

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Vec<DataTableRowProps>

§

const MANY: bool = true

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Vec<EnumOptionProps>

§

const MANY: bool = true

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Vec<FactProps>

§

const MANY: bool = true

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Vec<KeyHintProps>

§

const MANY: bool = true

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Vec<MapPinProps>

§

const MANY: bool = true

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Vec<MediaCardProps>

§

const MANY: bool = true

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Vec<MenuItemProps>

The commands of a menu, in order.

§

const MANY: bool = true

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Vec<NavItemProps>

NavItemProps in a slot of any number of them.

§

const MANY: bool = true

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Vec<PictureOptionProps>

§

const MANY: bool = true

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Vec<PresenceFaceProps>

§

const MANY: bool = true

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Vec<PropertyProps>

PropertyProps in a slot of any number of them.

§

const MANY: bool = true

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Vec<SegmentProps>

§

const MANY: bool = true

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Vec<StatTileProps>

§

const MANY: bool = true

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Vec<SuggestionProps>

§

const MANY: bool = true

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Vec<TabItemProps>

§

const MANY: bool = true

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Vec<TreeViewNodeProps>

§

const MANY: bool = true

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Vec<TreeViewRowProps>

§

const MANY: bool = true

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

§

impl SlotType for Vec<Box<dyn Widget>>

§

const MANY: bool = true

§

fn accepts() -> Accepts

§

fn fill(&mut self, source: &mut dyn Source, slot: &str) -> Result<(), String>

Implementors§

§

impl SlotType for ItemRow

The row of an item: one list row, or one view of any kind.

§

const MANY: bool = false

§

impl SlotType for DragItems

§

const MANY: bool = true

§

impl SlotType for Attachments

What a view gave the element it stands in, from the attaching components in it.

§

const MANY: bool = true

§

impl SlotType for DescribedRows

The items of a list: ListItemProps only.

§

const MANY: bool = true