Skip to repository content11 lines · 366 B · rust
tenant.openagents/omega
No repository description is available.
OpenAgents Git authority 2026-07-28T03:35:17.644Z Public web read
NIP-34 coordinate
30617:7649603503856e5148d571eac2766b288a8ff1e9e35d380337a1d2b0015b4f92:omegaMaintainersHidden in public view
References2 branches · 1 tag
Read-only clone
git clone https://openagents.com/git/tenant.openagents/omega.gitBrowse files
fixed.rs
1use gpui::DefiniteLength;
2
3/// A trait for elements that can have a fixed with. Enables the use of the `width` and `full_width` methods.
4pub trait FixedWidth {
5 /// Sets the width of the element.
6 fn width(self, width: impl Into<DefiniteLength>) -> Self;
7
8 /// Sets the element's width to the full width of its container.
9 fn full_width(self) -> Self;
10}
11