pub struct IntoSizedResult<'a> {
pub intrinsic_size: Vec2,
pub sized: SizedAtomKind<'a>,
}Available on crate feature
egui only.Expand description
Result returned when sizing an super::Atom
Fields§
§intrinsic_size: Vec2§sized: SizedAtomKind<'a>Auto Trait Implementations§
impl<'a> !RefUnwindSafe for IntoSizedResult<'a>
impl<'a> !Send for IntoSizedResult<'a>
impl<'a> !Sync for IntoSizedResult<'a>
impl<'a> !UnwindSafe for IntoSizedResult<'a>
impl<'a> Forget for IntoSizedResult<'a>
impl<'a> Freeze for IntoSizedResult<'a>where
*const ArcInner<Galley> is !null: Freeze,
PhantomData<ArcInner<Galley>>: Freeze,
&'a str: Freeze,
String: Freeze,
&'static str: Freeze,
&'static [u8]: Freeze,
*const ArcInner<[u8]> is !null: Freeze,
PhantomData<ArcInner<[u8]>>: Freeze,
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const ArcInner<dyn Fn(&Ui, AtomPaintArgs) + 'a> is !null: Freeze,
PhantomData<ArcInner<dyn Fn(&Ui, AtomPaintArgs) + 'a>>: Freeze,
*const SizedContainerAtom<'a> is !null: Freeze,
PhantomData<SizedContainerAtom<'a>>: Freeze,
*const SizedWidgetAtom<'a> is !null: Freeze,
PhantomData<SizedWidgetAtom<'a>>: Freeze,
impl<'a> Move for IntoSizedResult<'a>
impl<'a> Unpin for IntoSizedResult<'a>
impl<'a> UnsafeUnpin for IntoSizedResult<'a>where
*const ArcInner<Galley> is !null: UnsafeUnpin,
PhantomData<ArcInner<Galley>>: UnsafeUnpin,
&'a str: UnsafeUnpin,
String: UnsafeUnpin,
&'static str: UnsafeUnpin,
&'static [u8]: UnsafeUnpin,
*const ArcInner<[u8]> is !null: UnsafeUnpin,
PhantomData<ArcInner<[u8]>>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const ArcInner<dyn Fn(&Ui, AtomPaintArgs) + 'a> is !null: UnsafeUnpin,
PhantomData<ArcInner<dyn Fn(&Ui, AtomPaintArgs) + 'a>>: UnsafeUnpin,
*const SizedContainerAtom<'a> is !null: UnsafeUnpin,
PhantomData<SizedContainerAtom<'a>>: UnsafeUnpin,
*const SizedWidgetAtom<'a> is !null: UnsafeUnpin,
PhantomData<SizedWidgetAtom<'a>>: UnsafeUnpin,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more