pub struct PackageInstallScript(/* private fields */);Expand description
A bit of shell script to install brew/apt/chocolatey/etc. packages
Implementations§
Source§impl PackageInstallScript
impl PackageInstallScript
Sourcepub fn as_explicit_ref(&self) -> &PackageInstallScriptRef
pub fn as_explicit_ref(&self) -> &PackageInstallScriptRef
Turn $name into $ref_name explicitly
Methods from Deref<Target = PackageInstallScriptRef>§
Trait Implementations§
Source§impl AsRef<PackageInstallScriptRef> for PackageInstallScript
impl AsRef<PackageInstallScriptRef> for PackageInstallScript
Source§fn as_ref(&self) -> &PackageInstallScriptRef
fn as_ref(&self) -> &PackageInstallScriptRef
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<str> for PackageInstallScript
impl AsRef<str> for PackageInstallScript
Source§impl Borrow<PackageInstallScriptRef> for PackageInstallScript
impl Borrow<PackageInstallScriptRef> for PackageInstallScript
Source§fn borrow(&self) -> &PackageInstallScriptRef
fn borrow(&self) -> &PackageInstallScriptRef
Immutably borrows from an owned value. Read more
Source§impl Borrow<str> for PackageInstallScript
impl Borrow<str> for PackageInstallScript
Source§impl Clone for PackageInstallScript
impl Clone for PackageInstallScript
Source§fn clone(&self) -> PackageInstallScript
fn clone(&self) -> PackageInstallScript
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PackageInstallScript
impl Debug for PackageInstallScript
Source§impl Deref for PackageInstallScript
impl Deref for PackageInstallScript
Source§impl<'de> Deserialize<'de> for PackageInstallScript
impl<'de> Deserialize<'de> for PackageInstallScript
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for PackageInstallScript
impl Display for PackageInstallScript
Source§impl FromStr for PackageInstallScript
impl FromStr for PackageInstallScript
Source§impl Hash for PackageInstallScript
impl Hash for PackageInstallScript
Source§impl JsonSchema for PackageInstallScript
impl JsonSchema for PackageInstallScript
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl Ord for PackageInstallScript
impl Ord for PackageInstallScript
Source§impl PartialEq for PackageInstallScript
impl PartialEq for PackageInstallScript
Source§impl PartialOrd for PackageInstallScript
impl PartialOrd for PackageInstallScript
Source§impl Serialize for PackageInstallScript
impl Serialize for PackageInstallScript
impl Eq for PackageInstallScript
impl StructuralPartialEq for PackageInstallScript
Auto Trait Implementations§
impl Freeze for PackageInstallScript
impl RefUnwindSafe for PackageInstallScript
impl Send for PackageInstallScript
impl Sync for PackageInstallScript
impl Unpin for PackageInstallScript
impl UnwindSafe for PackageInstallScript
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)