Struct embedded_layout::object_chain::Chain[][src]

pub struct Chain<V> {
    pub object: V,
}
Expand description

This piece marks the end of a chain

Fields

object: V

The wrapped object.

Implementations

Append an object to the chain

Create a new Chain by wrapping the given object.

Trait Implementations

Return the number of objects linked to this chain element

The pixel color type.

The return type of the draw method. Read more

Draw the graphics object using the supplied DrawTarget.

Returns the bounding box of the View as a Rectangle

Object-safe version of translate_mut(). Read more

Get the size of a View.

Move the origin of an object by a given number of (x, y) pixels, mutating the object in place. Read more

Move the origin of an object by a given number of (x, y) pixels, returning a new object. Read more

Returns the number of View objects in this view group.

Returns a shared reference the View object at position idx.

Returns an exclusive reference to the View object at position idx.

Auto Trait Implementations

Blanket Implementations

Return the object aligned to an other one using the alignment parameters as rules

Align the object to an other one using the alignment parameters as rules

Gets the TypeId of self. Read more

Casts the value.

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Casts the value.

Performs the conversion.

Performs the conversion.

Casts the value.

Casts the value.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Casts the value.

Casts the value.