pub struct Frame {
pub _clip_content: Property<bool>,
}Expand description
A primitive that gathers children underneath a single render node with a shared base transform,
like [Group], except Frame has the option of clipping rendering outside
of its bounds.
If clipping or the option of clipping is not required,
a [Group] will generally be a more performant and otherwise-equivalent
to Frame, since [Frame] creates a clipping mask.
Fields§
§_clip_content: Property<bool>Trait Implementations§
source§impl CoercionRules for Frame
impl CoercionRules for Frame
source§impl<'de> Deserialize<'de> for Frame
impl<'de> Deserialize<'de> for Frame
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl HelperFunctions for Frame
impl HelperFunctions for Frame
source§impl Interpolatable for Frame
impl Interpolatable for Frame
fn interpolate(&self, _other: &Self, _t: f64) -> Self
source§impl ToPaxValue for Frame
impl ToPaxValue for Frame
fn to_pax_value(self) -> PaxValue
impl ImplToFromPaxAny for Frame
Auto Trait Implementations§
impl Freeze for Frame
impl RefUnwindSafe for Frame
impl Send for Frame
impl Sync for Frame
impl Unpin for Frame
impl UnwindSafe for Frame
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
source§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.