pub struct EffectiveGraphchainInfo {
pub acquire_timeout: u64,
pub composite_alpha: CompositeAlphaFlagsKHR,
pub clipped: bool,
pub frame_count: usize,
pub height: u32,
pub image_count: usize,
pub present_mode: PresentModeKHR,
pub surface: SurfaceFormatKHR,
pub width: u32,
/* private fields */
}Expand description
Effective runtime information for a live Graphchain.
Fields§
§acquire_timeout: u64Timeout in nanoseconds used when acquiring the next image.
composite_alpha: CompositeAlphaFlagsKHRActive alpha compositing mode used by the presentation engine.
clipped: boolWhether pixels obscured by other windows on the native surface are clipped.
frame_count: usizeThe effective number of tracked frame slots.
height: u32The live height of the surface.
image_count: usizeThe live swapchain image count.
present_mode: PresentModeKHRvk::PresentModeKHR determines timing and queueing with which frames are displayed.
surface: SurfaceFormatKHRThe format and color space of the surface.
width: u32The live width of the surface.
Implementations§
Source§impl EffectiveGraphchainInfo
impl EffectiveGraphchainInfo
Sourcepub fn builder() -> GraphchainInfoBuilder
pub fn builder() -> GraphchainInfoBuilder
Creates a default GraphchainInfoBuilder.
Sourcepub fn into_builder(self) -> GraphchainInfoBuilder
pub fn into_builder(self) -> GraphchainInfoBuilder
Converts an EffectiveGraphchainInfo into a GraphchainInfoBuilder.
Sourcepub fn into_requested_info(self) -> GraphchainInfo
pub fn into_requested_info(self) -> GraphchainInfo
Converts this effective runtime info back into requested graphchain info.
Trait Implementations§
Source§impl Clone for EffectiveGraphchainInfo
impl Clone for EffectiveGraphchainInfo
Source§fn clone(&self) -> EffectiveGraphchainInfo
fn clone(&self) -> EffectiveGraphchainInfo
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 EffectiveGraphchainInfo
Source§impl Debug for EffectiveGraphchainInfo
impl Debug for EffectiveGraphchainInfo
impl Eq for EffectiveGraphchainInfo
Source§impl From<EffectiveGraphchainInfo> for GraphchainInfo
impl From<EffectiveGraphchainInfo> for GraphchainInfo
Source§fn from(info: EffectiveGraphchainInfo) -> Self
fn from(info: EffectiveGraphchainInfo) -> Self
Converts to this type from the input type.
Source§impl Hash for EffectiveGraphchainInfo
impl Hash for EffectiveGraphchainInfo
Source§impl PartialEq for EffectiveGraphchainInfo
impl PartialEq for EffectiveGraphchainInfo
impl StructuralPartialEq for EffectiveGraphchainInfo
Auto Trait Implementations§
impl Freeze for EffectiveGraphchainInfo
impl RefUnwindSafe for EffectiveGraphchainInfo
impl Send for EffectiveGraphchainInfo
impl Sync for EffectiveGraphchainInfo
impl Unpin for EffectiveGraphchainInfo
impl UnsafeUnpin for EffectiveGraphchainInfo
impl UnwindSafe for EffectiveGraphchainInfo
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<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.