# IntoRef

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-base/trait-intoref/

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

```rust
trait IntoRef<U: ObjectType>
```

A non-optional object reference accepted by methods, convertible from a
handle (or a borrowed handle) of any derived class.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/type_system.rs#L1196)

## Members

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

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

### into_ref

```rust
fn into_ref(self: Self) -> Ref<U>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/type_system.rs#L1197)

## Trait implementations

- [`IntoRef<U>`](/docs/0.5.0/api/ferroui-base/trait-intoref/)

## Availability

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