# Buffer

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

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

```rust
struct Buffer
```



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

## Members

- [`uri`](#function-uri)
- [`path`](#function-path)
- [`document`](#function-document)
- [`source`](#function-source)
- [`saved_source`](#function-saved_source)
- [`version`](#function-version)
- [`is_dirty`](#function-is_dirty)

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

### uri

```rust
fn uri(self: &Self) -> &str
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Project/workspace.rs#L22)

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

### path

```rust
fn path(self: &Self) -> Option<&Path>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Project/workspace.rs#L25)

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

### document

```rust
fn document(self: &Self) -> &Document
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Project/workspace.rs#L28)

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

### source

```rust
fn source(self: &Self) -> &str
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Project/workspace.rs#L31)

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

### saved_source

```rust
fn saved_source(self: &Self) -> Option<&str>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Project/workspace.rs#L34)

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

### version

```rust
fn version(self: &Self) -> u64
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Project/workspace.rs#L37)

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

### is_dirty

```rust
fn is_dirty(self: &Self) -> bool
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Project/workspace.rs#L40)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- `Clone`

## Availability

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