pub struct SetMediaTextReturnObjectBuilder { /* private fields */ }Expand description
Builder for SetMediaTextReturnObject.
Implementations§
Source§impl SetMediaTextReturnObjectBuilder
impl SetMediaTextReturnObjectBuilder
Sourcepub fn media(&mut self, value: CssMedia) -> &mut Self
pub fn media(&mut self, value: CssMedia) -> &mut Self
The resulting CSS media rule after modification.
Sourcepub fn build(
&self,
) -> Result<SetMediaTextReturnObject, SetMediaTextReturnObjectBuilderError>
pub fn build( &self, ) -> Result<SetMediaTextReturnObject, SetMediaTextReturnObjectBuilderError>
Trait Implementations§
Source§impl Clone for SetMediaTextReturnObjectBuilder
impl Clone for SetMediaTextReturnObjectBuilder
Source§fn clone(&self) -> SetMediaTextReturnObjectBuilder
fn clone(&self) -> SetMediaTextReturnObjectBuilder
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 moreAuto Trait Implementations§
impl Freeze for SetMediaTextReturnObjectBuilder
impl RefUnwindSafe for SetMediaTextReturnObjectBuilder
impl Send for SetMediaTextReturnObjectBuilder
impl Sync for SetMediaTextReturnObjectBuilder
impl Unpin for SetMediaTextReturnObjectBuilder
impl UnsafeUnpin for SetMediaTextReturnObjectBuilder
impl UnwindSafe for SetMediaTextReturnObjectBuilder
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