pub struct OffscreenDescriptor {
pub logical_size: LogicalSize,
}Expand description
The image that MapHandle::attach_offscreen() renders. The session renders
it at the map’s scale factor.
See mln_offscreen_descriptor in the
C API reference.
Fields§
§logical_size: LogicalSizeImplementations§
Source§impl OffscreenDescriptor
impl OffscreenDescriptor
pub const fn new(logical_size: LogicalSize) -> Self
Trait Implementations§
Source§impl Clone for OffscreenDescriptor
impl Clone for OffscreenDescriptor
Source§fn clone(&self) -> OffscreenDescriptor
fn clone(&self) -> OffscreenDescriptor
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for OffscreenDescriptor
Source§impl Debug for OffscreenDescriptor
impl Debug for OffscreenDescriptor
Source§impl PartialEq for OffscreenDescriptor
impl PartialEq for OffscreenDescriptor
impl StructuralPartialEq for OffscreenDescriptor
Auto Trait Implementations§
impl Freeze for OffscreenDescriptor
impl RefUnwindSafe for OffscreenDescriptor
impl Send for OffscreenDescriptor
impl Sync for OffscreenDescriptor
impl Unpin for OffscreenDescriptor
impl UnsafeUnpin for OffscreenDescriptor
impl UnwindSafe for OffscreenDescriptor
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,
impl<T> ErasedDestructor for Twhere
T: 'static,
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