Struct embedded_layout::object_chain::Link [−][src]
pub struct Link<V, C: ChainElement> { pub object: V, pub parent: C, }
Expand description
This piece of the chain contains some object
Fields
object: VThe current object
parent: CThe rest of the object chain
Implementations
Trait Implementations
impl<'a, C, V, VC> Drawable for Link<V, VC> where
C: PixelColor,
V: View + Drawable<Color = C>,
VC: View + ChainElement + Drawable<Color = C>,
impl<'a, C, V, VC> Drawable for Link<V, VC> where
C: PixelColor,
V: View + Drawable<Color = C>,
VC: View + ChainElement + Drawable<Color = C>, Returns a shared reference the View object at position idx.
Auto Trait Implementations
impl<V, C> RefUnwindSafe for Link<V, C> where
C: RefUnwindSafe,
V: RefUnwindSafe, impl<V, C> UnwindSafe for Link<V, C> where
C: UnwindSafe,
V: UnwindSafe, Blanket Implementations
pub fn align_to<H, V>(Self, &impl View, H, V) -> T where
H: HorizontalAlignment,
V: VerticalAlignment,
pub fn align_to<H, V>(Self, &impl View, H, V) -> T where
H: HorizontalAlignment,
V: VerticalAlignment, Return the object aligned to an other one using the alignment parameters as rules
pub fn align_to_mut<H, V>(&mut Self, &impl View, H, V) -> &mut T where
H: HorizontalAlignment,
V: VerticalAlignment,
pub fn align_to_mut<H, V>(&mut Self, &impl View, H, V) -> &mut T where
H: HorizontalAlignment,
V: VerticalAlignment, Align the object to an other one using the alignment parameters as rules
Mutably borrows from an owned value. Read more
Casts the value.
Casts the value.
Casts the value.
Casts the value.
Casts the value.