[−][src]Struct yew_virtual_scroller::Props
VirtualScroller properties
Fields
items: Rc<Vec<T>>
Full list of items. This is within an Rc as the assumption is the list will be large and so cloning it would be expensive.
row_height: f64
Height of each item in pixels.
class: Classes
Class(es) to apply to the root container
Trait Implementations
impl<T: Clone> Clone for Props<T> where
T: Into<Html> + Clone + PartialEq + Debug + 'static,
[src]
T: Into<Html> + Clone + PartialEq + Debug + 'static,
impl<T: Debug> Debug for Props<T> where
T: Into<Html> + Clone + PartialEq + Debug + 'static,
[src]
T: Into<Html> + Clone + PartialEq + Debug + 'static,
impl<T: PartialEq> PartialEq<Props<T>> for Props<T> where
T: Into<Html> + Clone + PartialEq + Debug + 'static,
[src]
T: Into<Html> + Clone + PartialEq + Debug + 'static,
impl<T> Properties for Props<T> where
T: Into<Html> + Clone + PartialEq + Debug + 'static,
[src]
T: Into<Html> + Clone + PartialEq + Debug + 'static,
type Builder = PropsBuilder<T, PropsBuilderStep_missing_required_prop_items>
Builder that will be used to construct properties
pub fn builder() -> Self::Builder
[src]
impl<T> StructuralPartialEq for Props<T> where
T: Into<Html> + Clone + PartialEq + Debug + 'static,
[src]
T: Into<Html> + Clone + PartialEq + Debug + 'static,
Auto Trait Implementations
impl<T> !RefUnwindSafe for Props<T>
[src]
impl<T> !Send for Props<T>
[src]
impl<T> !Sync for Props<T>
[src]
impl<T> Unpin for Props<T>
[src]
impl<T> UnwindSafe for Props<T> where
T: RefUnwindSafe,
[src]
T: RefUnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
T: Any,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> CloneAny for T where
T: Clone + Any,
T: Clone + Any,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,