# ObjectConverters

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-base/data/converters/struct-objectconverters/

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

```rust
struct ObjectConverters
```

Provides a set of useful [`IValueConverter`](/docs/0.5.0/api/ferroui-base/data/converters/trait-ivalueconverter/)s for working with objects.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/data/converters/object_converters.rs#L8)

## Members

- [`is_null`](#function-is_null)
- [`is_not_null`](#function-is_not_null)
- [`equal`](#function-equal)
- [`not_equal`](#function-not_equal)
- [`are_all_null`](#function-are_all_null)
- [`are_any_null`](#function-are_any_null)
- [`are_all_equal`](#function-are_all_equal)

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

### is_null

```rust
fn is_null() -> Rc<dyn IValueConverter>
```

A value converter that returns true if the input object is a null
reference.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/data/converters/object_converters.rs#L21)

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

### is_not_null

```rust
fn is_not_null() -> Rc<dyn IValueConverter>
```

A value converter that returns true if the input object is not null.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/data/converters/object_converters.rs#L30)

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

### equal

```rust
fn equal() -> Rc<dyn IValueConverter>
```

A value converter that returns true if the input object is equal to a
parameter object.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/data/converters/object_converters.rs#L40)

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

### not_equal

```rust
fn not_equal() -> Rc<dyn IValueConverter>
```

A value converter that returns true if the input object is not equal
to a parameter object.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/data/converters/object_converters.rs#L53)

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

### are_all_null

```rust
fn are_all_null() -> Rc<dyn IMultiValueConverter>
```

A multi-value converter that returns true if all inputs are null.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/data/converters/object_converters.rs#L65)

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

### are_any_null

```rust
fn are_any_null() -> Rc<dyn IMultiValueConverter>
```

A multi-value converter that returns true if at least one input is
null.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/data/converters/object_converters.rs#L75)

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

### are_all_equal

```rust
fn are_all_equal() -> Rc<dyn IMultiValueConverter>
```

A multi-value converter that returns true if all inputs are equal to
each other. Null values are not considered equal to anything.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/data/converters/object_converters.rs#L85)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `Borrow<T>`
- `BorrowMut<T>`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ErasedDestructor`
- `IntoEither`
- [`MarkupTyped`](/docs/0.5.0/api/ferroui-base/metadata/trait-markuptyped/)

## Availability

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