# CanvasImpl

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-controls/trait-canvasimpl/

**trait** · [`ferroui-controls`](/docs/0.5.0/api/ferroui-controls/) · v0.5.0

```rust
trait CanvasImpl: PanelImpl + $crate::Upcast<Canvas>
```

The overridable members introduced by the class.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/canvas.rs#L20)

## Members

- [`arrange_child`](#function-arrange_child)

<a id="function-arrange_child"></a>

### arrange_child

```rust
fn arrange_child(this: &Self, child: &Ref<Control>, final_size: Size)
```

Arranges a single child within the size allocated to the canvas.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/canvas.rs#L20)

## Trait implementations

- [`CanvasImpl`](/docs/0.5.0/api/ferroui-controls/trait-canvasimpl/)

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
