Struct webgl_rc::ViewportSetting
source · [−]Fields
x: i32y: i32width: i32height: i32Trait Implementations
sourceimpl CachedSettings for ViewportSetting
impl CachedSettings for ViewportSetting
fn set(gl: &Gl, value: &Self)
fn read_cached(cache: &impl Deref<Target = SettingsCache>) -> Self
fn write_cached(cache: &mut impl DerefMut<Target = SettingsCache>, value: &Self)
sourceimpl Clone for ViewportSetting
impl Clone for ViewportSetting
sourcefn clone(&self) -> ViewportSetting
fn clone(&self) -> ViewportSetting
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ViewportSetting
impl Debug for ViewportSetting
sourceimpl Default for ViewportSetting
impl Default for ViewportSetting
sourcefn default() -> ViewportSetting
fn default() -> ViewportSetting
Returns the “default value” for a type. Read more
sourceimpl PartialEq<ViewportSetting> for ViewportSetting
impl PartialEq<ViewportSetting> for ViewportSetting
sourcefn eq(&self, other: &ViewportSetting) -> bool
fn eq(&self, other: &ViewportSetting) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
impl Copy for ViewportSetting
impl StructuralPartialEq for ViewportSetting
Auto Trait Implementations
impl RefUnwindSafe for ViewportSetting
impl Send for ViewportSetting
impl Sync for ViewportSetting
impl Unpin for ViewportSetting
impl UnwindSafe for ViewportSetting
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more