pub struct BackdropKey(/* private fields */);Expand description
A key that identifies a group of backdrop filters that share one backdrop.
Every BackdropFilterLayer with the same key blurs the scene once, as of the first of
them, which is what Flutter’s BackdropGroup trades for the cost of one filter pass.
Implementations§
Source§impl BackdropKey
impl BackdropKey
Sourcepub fn new() -> BackdropKey
pub fn new() -> BackdropKey
Create a new BackdropKey.
Sourcepub fn id(self) -> u64
pub fn id(self) -> u64
dart:ui’s backdropId for SceneBuilder::push_backdrop_filter.
Trait Implementations§
Source§impl Clone for BackdropKey
impl Clone for BackdropKey
impl Copy for BackdropKey
Source§impl Debug for BackdropKey
impl Debug for BackdropKey
impl Eq for BackdropKey
Source§impl Hash for BackdropKey
impl Hash for BackdropKey
Source§impl PartialEq for BackdropKey
impl PartialEq for BackdropKey
impl StructuralPartialEq for BackdropKey
Auto Trait Implementations§
impl Freeze for BackdropKey
impl RefUnwindSafe for BackdropKey
impl Send for BackdropKey
impl Sync for BackdropKey
impl Unpin for BackdropKey
impl UnsafeUnpin for BackdropKey
impl UnwindSafe for BackdropKey
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.