Struct raui::material::prelude::WindowPaperProps
source · pub struct WindowPaperProps {
pub bar_color: ThemeColor,
pub bar_margin: Rect,
pub bar_height: Option<f32>,
pub content_margin: Rect,
}Fields§
§bar_color: ThemeColor§bar_margin: Rect§bar_height: Option<f32>§content_margin: RectTrait Implementations§
source§impl Clone for WindowPaperProps
impl Clone for WindowPaperProps
source§fn clone(&self) -> WindowPaperProps
fn clone(&self) -> WindowPaperProps
Returns a copy 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 Debug for WindowPaperProps
impl Debug for WindowPaperProps
source§impl Default for WindowPaperProps
impl Default for WindowPaperProps
source§fn default() -> WindowPaperProps
fn default() -> WindowPaperProps
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for WindowPaperProps
impl<'de> Deserialize<'de> for WindowPaperProps
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<WindowPaperProps, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<WindowPaperProps, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Prefab for WindowPaperProps
impl Prefab for WindowPaperProps
fn from_prefab(data: Value) -> Result<Self, PrefabError>
fn to_prefab(&self) -> Result<Value, PrefabError>
source§impl PropsData for WindowPaperPropswhere
WindowPaperProps: Clone,
impl PropsData for WindowPaperPropswhere WindowPaperProps: Clone,
source§impl Serialize for WindowPaperProps
impl Serialize for WindowPaperProps
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for WindowPaperProps
impl Send for WindowPaperProps
impl Sync for WindowPaperProps
impl Unpin for WindowPaperProps
impl UnwindSafe for WindowPaperProps
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<T> Initialize for Twhere
T: Default,
impl<T> Initialize for Twhere T: Default,
fn initialize(&mut self)
§unsafe fn initialize_raw(data: *mut ())
unsafe fn initialize_raw(data: *mut ())
Safety Read more
§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<R, P> ReadPrimitive<R> for Pwhere
R: Read + ReadEndian<P>,
P: Default,
impl<R, P> ReadPrimitive<R> for Pwhere R: Read + ReadEndian<P>, P: Default,
source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().