[−][src]Struct makepad_render::ElementsCounted
Fields
counter: u64
elements: Elements<u64, T, T>
Methods
impl<T> ElementsCounted<T> where
T: Clone,
[src]
T: Clone,
pub fn new(template: T) -> ElementsCounted<T> where
T: Clone,
[src]
T: Clone,
ⓘImportant traits for ElementsIterator<'a, ID, T, TEMPL>pub fn iter<'a>(&'a mut self) -> ElementsIterator<'a, u64, T, T> where
T: Clone,
[src]
ⓘImportant traits for ElementsIterator<'a, ID, T, TEMPL>
T: Clone,
ⓘImportant traits for ElementsIteratorNamed<'a, ID, T, TEMPL>pub fn enumerate<'a>(&'a mut self) -> ElementsIteratorNamed<'a, u64, T, T> where
T: Clone,
[src]
ⓘImportant traits for ElementsIteratorNamed<'a, ID, T, TEMPL>
T: Clone,
pub fn get<'a>(&'a mut self, index: u64) -> Option<&mut T> where
T: Clone,
[src]
T: Clone,
pub fn template(&mut self) -> &mut T
[src]
pub fn get_draw(&mut self, cx: &mut Cx) -> &mut T where
T: Clone,
[src]
T: Clone,
Trait Implementations
impl<T: Clone> Clone for ElementsCounted<T> where
T: Clone,
[src]
T: Clone,
fn clone(&self) -> ElementsCounted<T>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<T: Default> Default for ElementsCounted<T> where
T: Clone,
[src]
T: Clone,
fn default() -> ElementsCounted<T>
[src]
Auto Trait Implementations
impl<T> Send for ElementsCounted<T> where
T: Send,
T: Send,
impl<T> Sync for ElementsCounted<T> where
T: Sync,
T: Sync,
impl<T> Unpin for ElementsCounted<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for ElementsCounted<T> where
T: UnwindSafe,
T: UnwindSafe,
impl<T> RefUnwindSafe for ElementsCounted<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
Blanket Implementations
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.
fn to_owned(&self) -> T
[src]
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 = !
The type returned in the event of a conversion error.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,