# Schema

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-designer-language/struct-schema/

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

```rust
struct Schema
```



[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Language/schema.rs#L42)

## Members

- [`types`](#struct_field-types)
- [`extensions`](#struct_field-extensions)
- [`ferroui`](#function-ferroui)
- [`register`](#function-register)
- [`extension`](#function-extension)
- [`type_info`](#function-type_info)
- [`properties`](#function-properties)
- [`property`](#function-property)

<a id="struct_field-types"></a>

### types

```rust
types: std::collections::BTreeMap<String, TypeInfo>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Language/schema.rs#L43)

<a id="struct_field-extensions"></a>

### extensions

```rust
extensions: std::collections::BTreeMap<String, ExtensionInfo>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Language/schema.rs#L44)

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

### ferroui

```rust
fn ferroui() -> Self
```

Generated from the framework's own class/property reader, with no native dependency.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Language/schema.rs#L81)

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

### register

```rust
fn register(self: &mut Self, info: TypeInfo) -> Option<TypeInfo>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Language/schema.rs#L193)

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

### extension

```rust
fn extension(self: &Self, name: &str, namespace: Option<&str>) -> Option<&ExtensionInfo>
```

Resolve the parameter catalog through the same lexical namespace as the XAML
expression. A foreign extension named Binding must not receive native arguments.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Language/schema.rs#L200)

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

### type_info

```rust
fn type_info(self: &Self, name: &str, namespace: Option<&str>) -> Option<&TypeInfo>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Language/schema.rs#L241)

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

### properties

```rust
fn properties(self: &Self, name: &str, namespace: Option<&str>) -> BTreeMap<String, PropertyInfo>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Language/schema.rs#L260)

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

### property

```rust
fn property(self: &Self, owner: &str, namespace: Option<&str>, name: &str) -> Option<PropertyInfo>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Language/schema.rs#L284)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- `DeserializeOwned`
- `Clone`
- `Debug`
- `Default`
- `Serialize`
- `Deserialize<'de>`

## Availability

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