# LayerState

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

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

```rust
struct LayerState
```

Source-row presentation. Direct flags can be changed on this row; inherited flags
require changing their ancestor. Isolation preserves visible ancestor context.

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

## Members

- [`locked`](#struct_field-locked)
- [`hidden`](#struct_field-hidden)
- [`inherited_locked`](#struct_field-inherited_locked)
- [`inherited_hidden`](#struct_field-inherited_hidden)
- [`outside_isolation`](#struct_field-outside_isolation)
- [`is_locked`](#function-is_locked)
- [`is_hidden`](#function-is_hidden)

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

### locked

```rust
locked: bool
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/layer_state.rs#L17)

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

### hidden

```rust
hidden: bool
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/layer_state.rs#L18)

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

### inherited_locked

```rust
inherited_locked: bool
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/layer_state.rs#L19)

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

### inherited_hidden

```rust
inherited_hidden: bool
```



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

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

### outside_isolation

```rust
outside_isolation: bool
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/layer_state.rs#L21)

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

### is_locked

```rust
fn is_locked(self: Self) -> bool
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/layer_state.rs#L24)

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

### is_hidden

```rust
fn is_hidden(self: Self) -> bool
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/layer_state.rs#L27)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- [`PropertyValue`](/docs/0.5.0/api/ferroui-base/trait-propertyvalue/)
- [`AnyValue`](/docs/0.5.0/api/ferroui-base/trait-anyvalue/)
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `ErasedDestructor`
- `IntoEither`
- `Same`
- [`TreeModel`](/docs/0.5.0/api/ferroui-treedatagrid-core/accessor/trait-treemodel/)
- `Clone`
- `Copy`
- `Debug`
- `Default`
- `StructuralPartialEq`
- `PartialEq`
- `Eq`

## Availability

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