pub struct StateBlock(/* private fields */);Expand description
[docs.microsoft.com] Used to capture/save and restore changes to Device state.
§See Also
Trait Implementations§
Source§impl Clone for StateBlock
impl Clone for StateBlock
Source§fn clone(&self) -> StateBlock
fn clone(&self) -> StateBlock
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 moreSource§impl From<&Rc<IDirect3DStateBlock9>> for &StateBlock
impl From<&Rc<IDirect3DStateBlock9>> for &StateBlock
Source§fn from(value: &Rc<IDirect3DStateBlock9>) -> Self
fn from(value: &Rc<IDirect3DStateBlock9>) -> Self
Converts to this type from the input type.
Source§impl From<&StateBlock> for &Rc<IDirect3DStateBlock9>
impl From<&StateBlock> for &Rc<IDirect3DStateBlock9>
Source§fn from(value: &StateBlock) -> Self
fn from(value: &StateBlock) -> Self
Converts to this type from the input type.
Source§impl From<Rc<IDirect3DStateBlock9>> for StateBlock
impl From<Rc<IDirect3DStateBlock9>> for StateBlock
Source§fn from(value: Rc<IDirect3DStateBlock9>) -> Self
fn from(value: Rc<IDirect3DStateBlock9>) -> Self
Converts to this type from the input type.
Source§impl From<StateBlock> for Rc<IDirect3DStateBlock9>
impl From<StateBlock> for Rc<IDirect3DStateBlock9>
Source§fn from(value: StateBlock) -> Self
fn from(value: StateBlock) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for StateBlock
impl RefUnwindSafe for StateBlock
impl !Send for StateBlock
impl !Sync for StateBlock
impl Unpin for StateBlock
impl UnwindSafe for StateBlock
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,
Source§impl<T> IDirect3DStateBlock9Ext for Twhere
T: AsSafe<IDirect3DStateBlock9>,
impl<T> IDirect3DStateBlock9Ext for Twhere
T: AsSafe<IDirect3DStateBlock9>,
Source§fn apply(&self) -> Result<(), MethodError>
fn apply(&self) -> Result<(), MethodError>
[docs.microsoft.com]
IDirect3DStateBlock9::Apply Read more
Source§fn capture(&self) -> Result<(), MethodError>
fn capture(&self) -> Result<(), MethodError>
[docs.microsoft.com]
IDirect3DStateBlock9::Capture Read more
Source§fn get_device(&self) -> Result<Device, MethodError>
fn get_device(&self) -> Result<Device, MethodError>
[docs.microsoft.com]
IDirect3DStateBlock9::GetDevice Read more