pub struct ComputePositionOptions { /* private fields */ }Implementations§
Source§impl ComputePositionOptions
impl ComputePositionOptions
pub fn new() -> Self
pub fn placement(&mut self, placement: Placement) -> &mut Self
pub fn strategy(&mut self, strategy: Strategy) -> &mut Self
pub fn middleware(&mut self, middleware: Middleware) -> &mut Self
pub fn maybe_middleware(&mut self, middleware: Option<Middleware>) -> &mut Self
Trait Implementations§
Source§impl Clone for ComputePositionOptions
impl Clone for ComputePositionOptions
Source§fn clone(&self) -> ComputePositionOptions
fn clone(&self) -> ComputePositionOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ComputePositionOptions
impl !RefUnwindSafe for ComputePositionOptions
impl !Send for ComputePositionOptions
impl !Sync for ComputePositionOptions
impl Unpin for ComputePositionOptions
impl !UnwindSafe for ComputePositionOptions
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