pub struct Geo { /* private fields */ }
Implementations§
Source§impl Geo
impl Geo
pub fn new() -> Self
pub fn show(self, show: bool) -> Self
pub fn map<S: Into<String>>(self, map: S) -> Self
pub fn roam(self, roam: bool) -> Self
pub fn center<S: Into<String>>(self, center: (S, S)) -> Self
pub fn aspect_scale<F: Into<i64>>(self, aspect_scale: F) -> Self
pub fn bounding_coords<S: Into<String>>( self, bounding_coords: ((S, S), (S, S)), ) -> Self
pub fn zoom<F: Into<i64>>(self, zoom: F) -> Self
pub fn scale_limit<F: Into<i64>>(self, scale_limit: (F, F)) -> Self
pub fn name_map<S: Into<String>>(self, name_map: (S, S)) -> Self
pub fn name_property<S: Into<String>>(self, name_property: S) -> Self
pub fn selected_mode(self, selected_mode: bool) -> Self
pub fn label<L: Into<Label>>(self, label: L) -> Self
pub fn item_style<S: Into<ItemStyle>>(self, item_style: S) -> Self
pub fn emphasis<E: Into<Emphasis>>(self, emphasis: E) -> Self
pub fn select<S: Into<Select>>(self, select: S) -> Self
pub fn blur<B: Into<Blur>>(self, blur: B) -> Self
pub fn zlevel<F: Into<i64>>(self, zlevel: F) -> Self
pub fn z<F: Into<i64>>(self, z: F) -> Self
pub fn left<C: Into<CompositeValue>>(self, left: C) -> Self
pub fn top<C: Into<CompositeValue>>(self, top: C) -> Self
pub fn right<C: Into<CompositeValue>>(self, right: C) -> Self
pub fn bottom<C: Into<CompositeValue>>(self, bottom: C) -> Self
pub fn layout_center<S: Into<String>>(self, layout_center: (S, S)) -> Self
pub fn layout_size<S: Into<String>>(self, layout_size: S) -> Self
pub fn silent(self, silent: bool) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Geo
impl RefUnwindSafe for Geo
impl Send for Geo
impl Sync for Geo
impl Unpin for Geo
impl UnwindSafe for Geo
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> 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