[−][src]Struct embedded_layout::layout::ViewLink
Chain element that can store a View
in a ViewGroup
You probably shouldn't ever use this struct
Trait Implementations
impl<'a, C, V, VC> Drawable<C> for &'a ViewLink<V, VC> where
C: PixelColor,
V: View,
&'a V: Drawable<C>,
VC: ViewChainElement,
&'a VC: Drawable<C>,
[src]
C: PixelColor,
V: View,
&'a V: Drawable<C>,
VC: ViewChainElement,
&'a VC: Drawable<C>,
impl<V: View, C: ViewChainElement> View for ViewLink<V, C>
[src]
fn bounds(&self) -> Rectangle
[src]
fn translate(&mut self, by: Point)
[src]
fn size(&self) -> Size
[src]
impl<V: View, VC: ViewChainElement> ViewChainElement for ViewLink<V, VC>
[src]
const IS_TERMINATOR: bool
[src]
fn view_count() -> usize
[src]
fn for_each(&mut self, op: &mut impl FnMut(&mut dyn View))
[src]
Auto Trait Implementations
impl<V, C> RefUnwindSafe for ViewLink<V, C> where
C: RefUnwindSafe,
V: RefUnwindSafe,
C: RefUnwindSafe,
V: RefUnwindSafe,
impl<V, C> Send for ViewLink<V, C> where
C: Send,
V: Send,
C: Send,
V: Send,
impl<V, C> Sync for ViewLink<V, C> where
C: Sync,
V: Sync,
C: Sync,
V: Sync,
impl<V, C> Unpin for ViewLink<V, C> where
C: Unpin,
V: Unpin,
C: Unpin,
V: Unpin,
impl<V, C> UnwindSafe for ViewLink<V, C> where
C: UnwindSafe,
V: UnwindSafe,
C: UnwindSafe,
V: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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.
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> View for T where
T: Transform + Dimensions,
[src]
T: Transform + Dimensions,