pub trait ElementClipInternalSize {
// Required method
fn clip_internal_size(&self, id: ElementId) -> Option<Vector2>;
}Expand description
Resolves the internal clipped content size for elements.
Required Methods§
Sourcefn clip_internal_size(&self, id: ElementId) -> Option<Vector2>
fn clip_internal_size(&self, id: ElementId) -> Option<Vector2>
Returns clip internal size for id.
Returns None when id is unknown.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".